Skip to content

Commit 5348554

Browse files
committed
Removed the min/max length arguments from flex().
1 parent 516ea53 commit 5348554

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

css3-flexbox/Overview.new.src.html

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ <h3 id=flex-function>The ''flex()'' function</h3>
387387
function can specify a non-zero length for the <b>preferred size</b>. The
388388
syntax of the ''flex()'' function is:</p>
389389

390-
<pre class=prod>flex( &lt;preferred-size>, &lt;flex-grow> &lt;max-size>? [, &lt;flex-shrink> &lt;min-size>?]? )</pre>
390+
<pre class=prod>flex( &lt;preferred-size>, &lt;flex-grow>[, &lt;flex-shrink>]? )</pre>
391391

392392
<p>The first argument given to the function sets the <b>preferred size</b>
393393
of the <b>flexible length</b>. It must be a value that would be valid for the property
@@ -396,21 +396,16 @@ <h3 id=flex-function>The ''flex()'' function</h3>
396396
is handled specially in flexbox layout). It must not be a ''&lt;flex>''
397397
value itself.</p>
398398

399-
<p>The second argument sets the <b>positive flexibility</b> of the length, and
400-
optionally the maximum size of the length. The &lt;flex-grow> must be
401-
specified in <b>flex unit</b>s, while the &lt;max-size>, if provided, must
402-
be a value that would be valid if used in the property that the ''flex()''
403-
function is being used on. If the &lt;max-size> is not provided, the
404-
<b>flexible length</b> has no maximum size.</p>
399+
<p>The second argument sets the <b>positive flexibility</b> of the length.
400+
It must be specified in flex units.</p>
405401

406402
<p>The third argument is optional. If provided, it sets the <b>negative flexibility</b>
407-
of the <b>flexible length</b>. Just like the previous argument, the
408-
&lt;flex-shrink> must be specified in <b>flex unit</b>s, while the optional
409-
&lt;min-size> must be a value that would be valid if used in the property
410-
that the ''flex()'' function is being used on. If the &lt;min-size> is not
411-
provided, the <b>flexible length</b> has a minimum size of ''0''. If this
412-
argument is not provided at all, the <b>flexible length</b> has no negative
413-
flexibility and a minimum size of ''0''.</p>
403+
of the <b>flexible length</b>. Just like the previous argument, it must
404+
be specified in <b>flex unit</b>s. If not provided, the <b>negative flexibility</b>
405+
of the length is ''0''.</p>
406+
407+
<p>Flexible lengths created by the ''flex()'' function have a minimum size
408+
of ''0'' and no maximum size.</p>
414409
</div>
415410

416411
<div class=figure>

0 commit comments

Comments
 (0)