csswg/css3-flexbox Overview.html,1.116,1.117 Overview.src.html,1.115,1.116

Update of /sources/public/csswg/css3-flexbox
In directory hutz:/tmp/cvs-serv1291

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Add some conformance criteria to the 'no unitless 0 in flex()' requirement.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-flexbox/Overview.html,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -d -r1.116 -r1.117
--- Overview.html	27 Jan 2012 00:31:46 -0000	1.116
+++ Overview.html	27 Jan 2012 01:10:30 -0000	1.117
@@ -1066,7 +1066,11 @@
    &lsquo;<code class=css>flex()</code>&rsquo; function) that would be valid
    in the &lsquo;<code class=property>width</code>&rsquo; or &lsquo;<code
    class=property>height</code>&rsquo; property in which the function is
-   used, except that zero lengths must not omit their unit.
+   used. If the <code>&lt;preferred-size></code> is &lsquo;<code
+   class=css>0</code>&rsquo;, it <strong>must</strong> be specified with a
+   unit (like &lsquo;<code class=css>0px</code>&rsquo;) to avoid ambiguity;
+   unitless zero will either be interpreted as as one of the flexibilities,
+   or is a syntax error.
 
   <p>The <code>&lt;pos-flex></code> component sets the length's <a
    href="#positive-flexibility"><i>positive flexibility</i></a>; if omitted,

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-flexbox/Overview.src.html,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -d -r1.115 -r1.116
--- Overview.src.html	27 Jan 2012 00:31:46 -0000	1.115
+++ Overview.src.html	27 Jan 2012 01:10:30 -0000	1.116
@@ -504,7 +504,7 @@
 
 	<pre class=prod>flex( [ &lt;pos-flex> &lt;neg-flex>? ]? || &lt;preferred-size>? )</pre>
 
-	<p><code>&lt;pos-flex></code> and <code>&lt;neg-flex></code> are non-negative <code>&lt;numbers>s</code>, while <code>&lt;preferred-size></code> is any value (other than another ''flex()'' function) that would be valid in the 'width' or 'height' property in which the function is used, except that zero lengths must not omit their unit.</p>
+	<p><code>&lt;pos-flex></code> and <code>&lt;neg-flex></code> are non-negative <code>&lt;numbers>s</code>, while <code>&lt;preferred-size></code> is any value (other than another ''flex()'' function) that would be valid in the 'width' or 'height' property in which the function is used.  If the <code>&lt;preferred-size></code> is ''0'', it <strong>must</strong> be specified with a unit (like ''0px'') to avoid ambiguity; unitless zero will either be interpreted as as one of the flexibilities, or is a syntax error.</p>
 
 	<p>The <code>&lt;pos-flex></code> component sets the length's <i>positive flexibility</i>; if omitted, the <i>positive flexibility</i> defaults to ''1''.  The <code>&lt;neg-flex></code> component sets the length's <i>negative flexibility</i>; if omitted, it defaults to ''0''.  The <code>&lt;preferred-size></code> component sets the length's <i>preferred size</i>; if omitted, it defaults to ''0px''.</p>
 

Received on Friday, 27 January 2012 01:10:36 UTC