Skip to content

Commit

Permalink
Review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dizhang168 committed Sep 18, 2024
1 parent 32f8558 commit 6670ab9
Showing 1 changed file with 28 additions and 27 deletions.
55 changes: 28 additions & 27 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -79456,7 +79456,7 @@ dictionary <dfn dictionary>ToggleEventInit</dfn> : <span>EventInit</span> {
<p>The order within a <span>tabindex-ordered focus navigation scope</span> is determined by each
element's <span>tabindex value</span> and, for <span>reading-flow focus navigation scope</span>,
by the special rules provided by the <span>sequential navigation search algorithm</span>. The
<span>tabindex value</span> should takes precedence over <span>reading flow</span>.</p>
<span>tabindex value</span> should take precedence over <span>reading flow</span>.</p>

<p class="note">The rules there do not give a precise ordering, as they are composed mostly of
"<!--non-normative-->should" statements and relative orderings.</p>
Expand Down Expand Up @@ -79714,52 +79714,51 @@ dictionary <dfn dictionary>ToggleEventInit</dfn> : <span>EventInit</span> {
<p>A <dfn data-x="reading-flow-item">reading flow item</dfn> is an element whose <span>parent
element</span> is a <span>reading flow scope owner</span>.</p>

<p>A <dfn data-x="non-participating-reading-flow-item">non participating reading flow item</dfn> is
<p>A <dfn data-x="non-participating-reading-flow-item">non-participating reading flow item</dfn> is
a <span data-x="reading-flow-item">reading flow item</span> whose computed value of the
<span>'display'</span> property is 'contents' or whose computed value of the
<span>'position'</span> property is 'fixed' or 'absolute'.</p>

<p>A <dfn data-x="participating-reading-flow-item">participating reading flow item</dfn> is a <span
data-x="reading-flow-item">reading flow item</span> that is not a <span
data-x="non-participating-reading-flow-item">non participating reading flow item</span>.</p>
data-x="non-participating-reading-flow-item">non-participating reading flow item</span>.</p>

<p>A <dfn>reading-flow focus navigation scope</dfn> is a <span>tabindex-ordered focus navigation
scope</span> where the <span>focus navigation scope owner</span> is a <span>reading flow scope
owner</span>.</p>
<p>A <dfn>reading-flow focus navigation scope</dfn> is the <span>tabindex-ordered focus navigation
scope</span> of a <span>reading flow scope owner</span>.</p>

The <dfn>reading flow</dfn> order for a <span>reading-flow focus navigation scope</span> is
determined by the scope owner's computed value of the <span>'reading-flow'</span> property:

<ul>
<li><p>For <span>'flex-visual'</span>: the reading flow should be defined by sorting the <span
<li><p>For <span>'flex-visual'</span>: follows the order defined by sorting the <span
data-x="participating-reading-flow-item">participating reading flow items</span> in the visual
reading flow order and taking the <span>writing mode</span> into account, followed by <span
data-x="non-participating-reading-flow-item">non participating reading flow
items</span>.</p></li>
reading order of flex items and taking the <span>writing mode</span> into account, followed by
<span data-x="non-participating-reading-flow-item">non-participating reading flow items</span>
in <span>tree order</span>.</p></li>

<li><p>For <span>'flex-flow'</span>: the reading flow should be defined by sorting the <span
<li><p>For <span>'flex-flow'</span>: follows the order defined by sorting the <span
data-x="participating-reading-flow-item">participating reading flow items</span> using the
<span>'flex-flow'</span> direction, followed by <span
data-x="non-participating-reading-flow-item">non participating reading flow
items</span>.</p></li>
data-x="non-participating-reading-flow-item">non-participating reading flow items</span> in
<span>tree order</span>.</p></li>

<li><p>For <span>'grid-rows'</span>: the reading flow should be defined by sorting the <span
<li><p>For <span>'grid-rows'</span>: follows the order defined by sorting the <span
data-x="participating-reading-flow-item">participating reading flow items</span> first by their
displayed row order, and then by their column order, taking the <span>writing mode</span> into
account, followed by <span data-x="non-participating-reading-flow-item">non participating
reading flow items</span>.</p></li>
visual row order, and then by their visual column order, taking the <span>writing mode</span>
into account, followed by <span data-x="non-participating-reading-flow-item">non-participating
reading flow items</span> in <span>tree order</span>.</p></li>

<li><p>For <span>'grid-columns'</span>: the reading flow should be defined by sorting the <span
<li><p>For <span>'grid-columns'</span>: follows the order defined by sorting the <span
data-x="participating-reading-flow-item">participating reading flow items</span> first by their
displayed column order, and then by their row order, taking the <span>writing mode</span> into
account, followed by <span data-x="non-participating-reading-flow-item">non participating
reading flow items</span>.</p></li>
visual column order, and then by their visual row order, taking the <span>writing mode</span>
into account, followed by <span data-x="non-participating-reading-flow-item">non-participating
reading flow items</span> in <span>tree order</span>.</p></li>

<li><p>For <span>'grid-order'</span>: the reading flow should be defined by sorting the <span
<li><p>For <span>'grid-order'</span>: follows the order defined by sorting the <span
data-x="participating-reading-flow-item">participating reading flow items</span> in
<span>order-modified document order</span>, followed by <span
data-x="non-participating-reading-flow-item">non participating reading flow
items</span>.</p></li>
data-x="non-participating-reading-flow-item">non-participating reading flow items</span> in
<span>tree order</span>.</p></li>
</ul>

</div>
Expand Down Expand Up @@ -80402,9 +80401,11 @@ dictionary <dfn dictionary>ToggleEventInit</dfn> : <span>EventInit</span> {
<li><p>Return <var>candidate</var>.</p></li>
</ol>

<p>The <dfn>reading flow sequential navigation search algorithm</dfn> consists of the following
steps. This algorithm takes three arguments: a reading flow item <var>current</var>, a direction
<var>direction</var> and a reading-flow focus navigation scope <var>scope</var>.</p>
<p>The <dfn>reading flow sequential navigation search algorithm</dfn>, given a <span
data-x="reading-flow-item">reading flow item</span> <var>current</var>, a sequential focus
direction <var>direction</var> and a <span>reading-flow focus navigation scope</span>
<var>scope</var>, consists of the following steps. They return a <span>focusable
area</span>-or-null.</p>

<ol>
<li>
Expand Down

0 comments on commit 6670ab9

Please sign in to comment.