Skip to content

Commit

Permalink
Address more review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dizhang168 committed Dec 19, 2024
1 parent 58bd0b0 commit 4e4a4c3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3236,6 +3236,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#concept-tree-child" data-x="concept-tree-child">child</dfn> concept</li>
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#concept-tree-root">root</dfn> and <dfn data-x-href="https://dom.spec.whatwg.org/#concept-shadow-including-root">shadow-including root</dfn> concepts</li>
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#concept-tree-inclusive-ancestor">inclusive ancestor</dfn>,
<dfn data-x-href="https://dom.spec.whatwg.org/#concept-tree-ancestor">ancestor</dfn>,
<dfn data-x-href="https://dom.spec.whatwg.org/#concept-tree-descendant">descendant</dfn>,
<dfn data-x="concept-shadow-including-ancestor" data-x-href="https://dom.spec.whatwg.org/#concept-shadow-including-ancestor">shadow-including ancestor</dfn>,
<dfn data-x-href="https://dom.spec.whatwg.org/#concept-shadow-including-descendant">shadow-including descendant</dfn>,
Expand Down Expand Up @@ -80025,8 +80026,8 @@ dictionary <dfn dictionary>ToggleEventInit</dfn> : <span>EventInit</span> {
regardless.</p>
</dd>

<dt>If the value is a zero or if the value is a greater than zero and the element is a <span>reading
flow item</span></dt>
<dt>If the value is either a zero, or</dt>
<dt>If the value is greater than zero and the element is a <span>reading flow item</span></dt>

<dd>
<p>The user agent must allow the element to be considered as a <span>focusable area</span> and
Expand Down Expand Up @@ -80162,14 +80163,13 @@ dictionary <dfn dictionary>ToggleEventInit</dfn> : <span>EventInit</span> {
</ol>

<p class="note">The <span>rendering-defined sibling reading flow</span> of <var>container</var>
includes <span data-x="descendant">descendants</span> of this <span>reading flow
container</span> that might not be in <var>scope</var>. For example, if a direct child of
<var>container</var> has CSS 'display: contents' and its nested children are included in
<var>items</var>. Some elements in <var>items</var> will have the <var>container</var> while
others will have 'display: contents' child as its <span>associated focus navigation
owner</span>. This step traverses the <span data-x="inclusive ancestor">inclusive
ancestors</span> of <var>item</var> within the <span>flat tree</span> to make sure we only
include an element in the <span>reading flow order</span> if it is in <var>scope</var>.</p>
includes <span data-x="descendant">descendants</span> of this <span>reading flow container</span>
that might not be in <var>scope</var>. For example, if a direct child of <var>container</var> has
CSS 'display: contents' and its nested children are included in <var>items</var>. Some elements in
<var>items</var> will have the <var>container</var> while others will have 'display: contents' child
as its <span>associated focus navigation owner</span>. This step traverses the <span
data-x="ancestor">ancestors</span> of <var>item</var> within the <span>flat tree</span> to make sure
we only include an element in the <span>reading flow order</span> if it is in <var>scope</var>.</p>
</li>

<li>
Expand Down

0 comments on commit 4e4a4c3

Please sign in to comment.