Skip to content

Commit 33b8e1e

Browse files
committed
Added 'absolute value of' to the negative-flex paragraph in the algo, to make it unambiguous how to do the math.
1 parent 3840789 commit 33b8e1e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

css3-flexbox/Overview.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@
103103

104104
<h1 id=head-box-flexible>CSS Flexible Box Layout Module</h1>
105105

106-
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft, 4 July 2012</h2>
106+
<h2 class="no-num no-toc" id=w3c-working>Editor's Draft, 9 July 2012</h2>
107107

108108
<dl>
109109
<dt>This version:
110-
<!--<dd><a href="http://www.w3.org/TR/2012/ED-css3-flexbox-20120704/">http://www.w3.org/TR/2012/WD-css3-flexbox-20120704/</a>-->
110+
<!--<dd><a href="http://www.w3.org/TR/2012/ED-css3-flexbox-20120709/">http://www.w3.org/TR/2012/WD-css3-flexbox-20120709/</a>-->
111111

112112

113113
<dd><a
@@ -3169,9 +3169,9 @@ <h3 id=resolve-flexible-lengths><span class=secno>9.7. </span> Resolving
31693169
href="#scaled-flex-shrink-ratio"><i>scaled flex shrink ratios</i></a>
31703170
of all items on the line. Set the item's main size to its <a
31713171
href="#flex-base-size"><i>flex base size</i></a> minus a fraction of
3172-
the free space proportional to the ratio. <span class=note>Note this
3173-
may result in a negative inner main size; it will be corrected in the
3174-
next step.</span>
3172+
the absolute value of the free space proportional to the ratio. <span
3173+
class=note>Note this may result in a negative inner main size; it will
3174+
be corrected in the next step.</span>
31753175
</dl>
31763176

31773177
<li> <strong>Fix min/max violations.</strong> Clamp each item's main size

css3-flexbox/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2503,7 +2503,7 @@ <h3 id='resolve-flexible-lengths'>
25032503
to the sum of the <i>scaled flex shrink ratios</i> of all items on the line.
25042504
Set the item's main size
25052505
to its <i>flex base size</i>
2506-
minus a fraction of the free space
2506+
minus a fraction of the absolute value of the free space
25072507
proportional to the ratio.
25082508
<span class="note">Note this may result in a negative inner main size;
25092509
it will be corrected in the next step.</span>

0 commit comments

Comments
 (0)