- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 03 Feb 2011 19:31:08 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-flexbox In directory hutz:/tmp/cvs-serv30462 Modified Files: Overview.new.src.html Log Message: Removed the min/max length arguments from flex(). Index: Overview.new.src.html =================================================================== RCS file: /sources/public/csswg/css3-flexbox/Overview.new.src.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Overview.new.src.html 28 Jan 2011 18:28:03 -0000 1.7 +++ Overview.new.src.html 3 Feb 2011 19:31:06 -0000 1.8 @@ -387,7 +387,7 @@ function can specify a non-zero length for the <b>preferred size</b>. The syntax of the ''flex()'' function is:</p> - <pre class=prod>flex( <preferred-size>, <flex-grow> <max-size>? [, <flex-shrink> <min-size>?]? )</pre> + <pre class=prod>flex( <preferred-size>, <flex-grow>[, <flex-shrink>]? )</pre> <p>The first argument given to the function sets the <b>preferred size</b> of the <b>flexible length</b>. It must be a value that would be valid for the property @@ -396,21 +396,16 @@ is handled specially in flexbox layout). It must not be a ''<flex>'' value itself.</p> - <p>The second argument sets the <b>positive flexibility</b> of the length, and - optionally the maximum size of the length. The <flex-grow> must be - specified in <b>flex unit</b>s, while the <max-size>, if provided, must - be a value that would be valid if used in the property that the ''flex()'' - function is being used on. If the <max-size> is not provided, the - <b>flexible length</b> has no maximum size.</p> + <p>The second argument sets the <b>positive flexibility</b> of the length. + It must be specified in flex units.</p> <p>The third argument is optional. If provided, it sets the <b>negative flexibility</b> - of the <b>flexible length</b>. Just like the previous argument, the - <flex-shrink> must be specified in <b>flex unit</b>s, while the optional - <min-size> must be a value that would be valid if used in the property - that the ''flex()'' function is being used on. If the <min-size> is not - provided, the <b>flexible length</b> has a minimum size of ''0''. If this - argument is not provided at all, the <b>flexible length</b> has no negative - flexibility and a minimum size of ''0''.</p> + of the <b>flexible length</b>. Just like the previous argument, it must + be specified in <b>flex unit</b>s. If not provided, the <b>negative flexibility</b> + of the length is ''0''.</p> + + <p>Flexible lengths created by the ''flex()'' function have a minimum size + of ''0'' and no maximum size.</p> </div> <div class=figure>
Received on Thursday, 3 February 2011 19:31:10 UTC