Skip to content

Commit 4f0f484

Browse files
committed
[css-flexbox] Add a zero clause to the flex distribution algo.
1 parent fe206e2 commit 4f0f484

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

css-flexbox/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2412,6 +2412,10 @@ Resolving Flexible Lengths</h3>
24122412
normalize all the <var>desired free spaces</var> so that they sum exactly to the free space
24132413
while maintaining their magnitudes relative to each other.
24142414

2415+
Otherwise, if the free space is zero,
2416+
set the <var>desired free spaces</var> of all the non-frozen flex items on the line
2417+
to zero.
2418+
24152419
<li>
24162420
<strong>Adjust main size.</strong>
24172421
Set each non-frozen flex item's used main size

css-flexbox/Overview.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
</p>
247247
<h1 class="p-name no-ref" id=title>CSS Flexible Box Layout Module Level 1</h1>
248248
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
249-
<span class=dt-updated><span class=value-title title=20140410>10 April 2014</span></span></span></h2>
249+
<span class=dt-updated><span class=value-title title=20140411>11 April 2014</span></span></span></h2>
250250
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-flexbox/>http://dev.w3.org/csswg/css-flexbox/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-flexbox-1/>http://www.w3.org/TR/css-flexbox-1/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-flexbox/>http://dev.w3.org/csswg/css-flexbox/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2012/CR-css3-flexbox-20120918/ rel=previous>http://www.w3.org/TR/2012/CR-css3-flexbox-20120918/</a><dd><a href=http://www.w3.org/TR/2012/WD-css3-flexbox-20120612/ rel=previous>http://www.w3.org/TR/2012/WD-css3-flexbox-20120612/</a><dd><a href=http://www.w3.org/TR/2012/WD-css3-flexbox-20120322/ rel=previous>http://www.w3.org/TR/2012/WD-css3-flexbox-20120322/</a><dd><a href=http://www.w3.org/TR/2011/WD-css3-flexbox-20111129/ rel=previous>http://www.w3.org/TR/2011/WD-css3-flexbox-20111129/</a><dd><a href=http://www.w3.org/TR/2011/WD-css3-flexbox-20110322/ rel=previous>http://www.w3.org/TR/2011/WD-css3-flexbox-20110322/</a><dd><a href=http://www.w3.org/TR/2009/WD-css3-flexbox-20090723/ rel=previous>http://www.w3.org/TR/2009/WD-css3-flexbox-20090723/</a>
251251
<dt>Feedback:</dt>
252252
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-flexbox%5D%20feedback">www-style@w3.org</a>
@@ -2414,6 +2414,10 @@ <h3 class="heading settled heading" data-level=9.7 id=resolve-flexible-lengths><
24142414
normalize all the <var>desired free spaces</var> so that they sum exactly to the free space
24152415
while maintaining their magnitudes relative to each other.
24162416

2417+
<p> Otherwise, if the free space is zero,
2418+
set the <var>desired free spaces</var> of all the non-frozen flex items on the line
2419+
to zero.
2420+
24172421
<li>
24182422
<strong>Adjust main size.</strong>
24192423
Set each non-frozen flex item’s used main size

0 commit comments

Comments
 (0)