Skip to content

Commit 94cfc7c

Browse files
committed
Fixed the fixup rules to ignore runs of solely whitespace.
1 parent bd784c9 commit 94cfc7c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

css3-flexbox/Overview.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,9 @@ <h2 id=flex-items><span class=secno>4. </span> Flexbox Items</h2>
511511
<li>Atomic inline-level children of flexbox
512512

513513
<li>Contiguous run of non-replaced inline children, wrapped into an
514-
anonymous block box
514+
anonymous block box. If this would produce an anonymous box filled only
515+
with white-space, the box is not generated, and the whitespace is removed
516+
from the box tree.
515517
</ol>
516518

517519
<p>Some values of &lsquo;<code class=property>display</code>&rsquo; trigger

css3-flexbox/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ <h2 id='flex-items'>
180180

181181
<li>Atomic inline-level children of flexbox</li>
182182

183-
<li>Contiguous run of non-replaced inline children, wrapped into an anonymous block box</li>
183+
<li>Contiguous run of non-replaced inline children, wrapped into an anonymous block box. If this would produce an anonymous box filled only with white-space, 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)