Skip to content

Commit

Permalink
Definitions and nits
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino committed Sep 17, 2024
1 parent cf0cc07 commit 32f8558
Showing 1 changed file with 27 additions and 16 deletions.
43 changes: 27 additions & 16 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3789,7 +3789,12 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x-href="https://drafts.csswg.org/css-display/#inline-formatting-context">inline formatting context</dfn></li>
<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>The <dfn data-x-href="https://drafts.csswg.org/css-display-4/#reading-flow">'reading-flow'</dfn> property</li>
<li>The <dfn data-x-href="https://drafts.csswg.org/css-display-4/#valdef-reading-flow-flex-visual">'flex-visual'</dfn>,
<dfn data-x-href="https://drafts.csswg.org/css-display-4/#valdef-reading-flow-flex-flow">'flex-flow'</dfn>,
<dfn data-x-href="https://drafts.csswg.org/css-display-4/#valdef-reading-flow-grid-rows">'grid-rows'</dfn>,
<dfn data-x-href="https://drafts.csswg.org/css-display-4/#valdef-reading-flow-grid-columns">'grid-columns'</dfn>, and
<dfn data-x-href="https://drafts.csswg.org/css-display-4/#valdef-reading-flow-grid-order">'grid-order'</dfn> values of the
<dfn data-x-href="https://drafts.csswg.org/css-display-4/#propdef-reading-flow">'reading-flow'</dfn> property</li>
<li><dfn data-x-href="https://drafts.csswg.org/css-display-4/#order-modified-document-order">order-modified document order</dfn></li>
</ul>

Expand Down Expand Up @@ -79683,23 +79688,25 @@ dictionary <dfn dictionary>ToggleEventInit</dfn> : <span>EventInit</span> {

<div w-nodev>

<h4> The reading flow </h4>
<h4>The reading flow</h4>

<p>A <dfn>reading flow container</dfn> is either:</p>
<p>A <dfn>reading flow container</dfn> is either: <ref>CSSDISPLAY</ref></p>

<ul>
<li><p>a <dfn data-x-href="https://drafts.csswg.org/css-flexbox-1/#flex-container">flex
container</dfn> that has the <span>'reading-flow'</span> CSS property set to 'flex-visual' or
'flex-flow'.</p></li>
container</dfn> that has the <span>'reading-flow'</span> CSS property set to
<span>'flex-visual'</span> or <span>'flex-flow'</span>.</p></li>

<li><p>a <dfn data-x-href="https://drafts.csswg.org/css-grid-2/#grid-container">grid
container</dfn> that has the <span>'reading-flow'</span> CSS property set to 'grid-rows',
'grid-columns' or 'grid-order'.</p></li>
container</dfn> that has the <span>'reading-flow'</span> CSS property set to
<span>'grid-rows'</span>, <span>'grid-columns'</span> or <span>'grid-order'</span>.</p></li>
</ul>

<p>A <dfn>reading flow scope owner</dfn> is either:</p>

<ul>
<li><p>a <span>reading flow container</span>.</p></li>

<li><p>an element <span>delegating its rendering to its children</span> whose <span>parent
element</span> is a <span>reading flow container</span>.</p></li>
</ul>
Expand All @@ -79724,27 +79731,31 @@ dictionary <dfn dictionary>ToggleEventInit</dfn> : <span>EventInit</span> {
determined by the scope owner's computed value of the <span>'reading-flow'</span> property:

<ul>
<li><p>For 'flex-visual': the reading flow should be defined by sorting the <span
<li><p>For <span>'flex-visual'</span>: the reading flow should be 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>
<li><p>For 'flex-flow': the reading flow should be defined by sorting the <span
data-x="participating-reading-flow-item">participating reading flow items</span> using the <dfn
data-x-href="https://drafts.csswg.org/css-flexbox-1/#propdef-flex-flow">'flex-flow'</dfn>
direction, followed by <span data-x="non-participating-reading-flow-item">non participating
reading flow items</span>.</p></li>
<li><p>For 'grid-rows': the reading flow should be defined by sorting the <span

<li><p>For <span>'flex-flow'</span>: the reading flow should be 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>

<li><p>For <span>'grid-rows'</span>: the reading flow should be 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>
<li><p>For 'grid-columns': the reading flow should be defined by sorting the <span

<li><p>For <span>'grid-columns'</span>: the reading flow should be 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>
<li><p>For 'grid-order': the reading flow should be defined by sorting the <span

<li><p>For <span>'grid-order'</span>: the reading flow should be 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
Expand Down

0 comments on commit 32f8558

Please sign in to comment.