@@ -75053,27 +75053,27 @@ END:VCARD</pre>
7505375053
7505475054 <dd>
7505575055 <ol>
75056- <li><p>If <var>focus target</var>'s <span data-x="concept-element-shadow-root">shadow
75057- root</span> is a <span>shadow-including inclusive ancestor</span> of the <span>currently
75058- focused area of a top-level browsing context</span>'s <span>DOM anchor</span>, then return
75059- null.</p></li>
75056+ <li><p>Let <var>root</var> be <var>focus target</var>'s <span
75057+ data-x="concept-element-shadow-root">shadow root</span>.</p></li>
75058+
75059+ <li><p>If <var>root</var> is a <span>shadow-including inclusive ancestor</span> of the
75060+ <span>currently focused area of a top-level browsing context</span>'s <span>DOM anchor</span>,
75061+ then return null.</p></li>
7506075062
75061- <li><p>Let <var>autofocus delegate</var> be the <span>autofocus delegate</span> for <var>focus
75062- target </var> given <var>focus trigger</var>.</p></li>
75063+ <li><p>Let <var>autofocus delegate</var> be the <span>autofocus delegate</span> for
75064+ <var>root </var> given <var>focus trigger</var>.</p></li>
7506375065
7506475066 <li><p>If <var>autofocus delegate</var> is not null, then return <var>autofocus
7506575067 delegate</var>.</p></li>
7506675068
7506775069 <li><p>If <var>focus trigger</var> is "<code data-x="">click</code>", then let <var>possible
7506875070 focus delegates</var> be the list of all <span>click focusable</span> <span data-x="focusable
7506975071 area">focusable areas</span> whose <span>DOM anchor</span> is a <span>shadow-including
75070- descendant</span> of <var>focus target</var>'s <span
75071- data-x="concept-element-shadow-root">shadow root</span>.</p></li>
75072+ descendant</span> of <var>root</var>.</p></li>
7507275073
7507375074 <li><p>Otherwise, let <var>possible focus delegates</var> be the list of all <span
7507475075 data-x="focusable area">focusable areas</span> whose <span>DOM anchor</span> is a
75075- <span>shadow-including descendant</span> of <var>focus target</var>'s <span
75076- data-x="concept-element-shadow-root">shadow root</span>.</p></li>
75076+ <span>shadow-including descendant</span> of <var>root</var>.</p></li>
7507775077
7507875078 <li><p>If <var>possible focus delegates</var> is empty, then return null.</p></li>
7507975079
0 commit comments