Skip to content

Commit

Permalink
Update CSS Display links + fix ol error
Browse files Browse the repository at this point in the history
  • Loading branch information
dizhang168 committed Nov 14, 2024
1 parent 9fa15ee commit 391d1bc
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3819,9 +3819,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x-href="https://drafts.csswg.org/css-display/#replaced-element">replaced element</dfn></li>
<li><dfn data-x-href="https://drafts.csswg.org/css-display/#css-box">CSS box</dfn></li>
<li><dfn data-x-href="https://drafts.csswg.org/css-display/#css-parent-box">CSS parent box</dfn></li>
<!-- TODO(dizhang168): Update these links and definitions when available. -->
<li><dfn data-x-href="https://drafts.csswg.org/css-display-4/#propdef-reading-flow-container">reading flow container</dfn></li>
<li><dfn data-x-href="https://drafts.csswg.org/css-display-4/#propdef-rendering-defined-sibling-reading-flow">rendering-defined sibling reading flow</dfn></li>
<li><dfn data-x-href="https://drafts.csswg.org/css-display-4/#reading-flow-container">reading flow container</dfn></li>
<li><dfn data-x-href="https://drafts.csswg.org/css-display-4/#rendering-defined-sibling-reading-flow">rendering-defined sibling reading flow</dfn></li>
<li>The <dfn data-x-href="https://drafts.csswg.org/css-display-4/#propdef-reading-flow">'reading-flow'</dfn> property</li>
</ul>

Expand Down Expand Up @@ -80126,32 +80125,31 @@ dictionary <dfn dictionary>ToggleEventInit</dfn> : <span>EventInit</span> {
<p><span data-x="list iterate">For each</span> <var>item</var> of <var>items</var>:</p>

<ol>
<li><p><span>While</span> <var>item</var> is an element that is not the
<var>container</var>:</p></li>

<ol>
<li>
<p>If <var>item</var>'s <span>focus navigation scope owner</span> is <var>owner</var>:</p>
<li>
<p><span>While</span> <var>item</var> is an element that is not the <var>container</var>:</p>
<ol>
<li>
<p>If <var>item</var>'s <span>focus navigation scope owner</span> is <var>owner</var>:</p>

<ol>
<li><p>If <var>output</var> does not <span data-x="list contains">contain</span>
<var>item</var>, <span data-x="list append">append</span> <var>item</var> to
<var>output</var>.</p></li>
<ol>
<li><p>If <var>output</var> does not <span data-x="list contains">contain</span>
<var>item</var>, <span data-x="list append">append</span> <var>item</var> to
<var>output</var>.</p></li>

<li><p><span>Break</span>.</p></li>
</ol>
</li>
<li><p><span>Break</span>.</p></li>
</ol>
</li>

<li><p>Set <var>item</var> to the parent element of <var>item</var> within the <span>flat
tree</span>.</p></li>
</ol>
<li><p>Set <var>item</var> to the parent element of <var>item</var> within the <span>flat
tree</span>.</p></li>
</ol>
</li>
</ol>
</li>

<li>
<p><span data-x="list iterate">For each</span> <var>child</var> of <var>owner</var> element's
children:</p>

<ol>
<li><p>If <var>child</var>'s <span>focus navigation scope owner</span> is <var>owner</var> and
<var>output</var> does not <span data-x="list contains">contain</span> <var>child</var>, <span
Expand Down

0 comments on commit 391d1bc

Please sign in to comment.