Skip to content

Commit a5ae02b

Browse files
committed
Try to rephrase the flexbox fixup as operating on elements. Hope this makes sense
--HG-- extra : rebase_source : 4fbaee830de0ec25b484f75b216d6f572915889b
1 parent e87e02a commit a5ae02b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

css3-flexbox/Overview.src.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ <h3 id="values">
122122
<h2 id='box-model'>
123123
The Flexbox Box Model</h2>
124124

125-
<p>An element with ''display:flexbox'' or ''display:inline-flexbox'' is a <dfn>flexbox</dfn>. Children of a flexbox are called <dfn title="flexbox item|flexbox items|flexbox item's" id="flexbox-item">flexbox items</dfn> and are laid out using the flexbox box model.</p>
125+
<p>An element with ''display:flexbox'' or ''display:inline-flexbox'' is a <dfn>flexbox</dfn>. Children of a flexbox are called <i>flexbox items</i> and are laid out using the flexbox box model.</p>
126126

127127
<p>Unlike block layout, which is normally biased towards laying things out vertically, and inline layout, which is normally biased toward laying things out horizontally, the flexbox layout algorithm is agnostic as to the direction the flexbox happens to be laid out in. To make it easier to talk about flexbox layout in a general way, we will define several direction-agnostic terms here to make the rest of the spec easier to read and understand.</p>
128128

@@ -173,14 +173,14 @@ <h2 id='display-flexbox'>
173173
<h2 id='flex-items'>
174174
Flexbox Items</h2>
175175

176-
<p>Flexbox layout algorithm operates on <i>flexbox items</i>, which are boxes that satisfy one of the following criteria:</p>
176+
<p>The flexbox layout algorithm operates on boxes generated by <dfn title="flexbox item|flexbox items|flexbox item's" id="flexbox-item">flexbox items</dfn>, which are elements that satisfy one of the following criteria:</p>
177177

178178
<ol>
179-
<li>Immediate block-level children of flexbox</li>
179+
<li>Immediate block-level children of the flexbox element</li>
180180

181-
<li>Atomic inline-level children of flexbox</li>
181+
<li>Atomic inline-level children of the flexbox element</li>
182182

183-
<li>Contiguous run of non-replaced inline children, wrapped into an anonymous block box. If the contents of the anonymous box would be solely an anonymous inline containing only whitespace, the box is not generated, and the whitespace is removed from the box tree.</li>
183+
<li>Contiguous run of non-replaced inline children, wrapped into an anonymous block element. If the contents of the anonymous block would be solely an anonymous inline containing only whitespace, the box is not generated, and the whitespace is removed from the box tree.</li>
184184
</ol>
185185

186186
<p>Some values of 'display' trigger "fixup" to ensure a sensible tree structure. For example, a lone ''table-cell'' box is fixed up by generating ''table'' and ''table-row'' boxes around it. This fixup must occur <em>before</em> a flexbox's contents are checked to see if it's necessary to generate anonymous flexbox items.</p>

0 commit comments

Comments
 (0)