W3C home > Mailing lists > Public > public-css-commits@w3.org > September 2011

csswg/css3-flexbox Overview.html,1.65,1.66 Overview.src.html,1.65,1.66

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 16 Sep 2011 23:24:49 +0000
To: public-css-commits@w3.org
Message-Id: <E1R4hm5-000682-9K@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-flexbox
In directory hutz:/tmp/cvs-serv23542

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Specified what to do with flex() used in an incorrect place.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-flexbox/Overview.html,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- Overview.html	16 Sep 2011 22:33:01 -0000	1.65
+++ Overview.html	16 Sep 2011 23:24:46 -0000	1.66
@@ -844,6 +844,13 @@
     resolved without violating any constraints.
   </ol>
 
+  <p>If a flexible length is used in a context where it is not allowed (for
+   example, on the &lsquo;<code class=property>width</code>&rsquo; property
+   of an element that is not a <a href="#flexbox-item"><i>flexbox
+   item</i></a>), it represents its <a href="#preferred-size"><i>preferred
+   size</i></a>. Authors must not use flexible lengths in contexts where they
+   are not allowed.
+
   <p class=issue>Examples!
 
   <h2 id=alignment><span class=secno>5. </span> Alignment</h2>

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-flexbox/Overview.src.html,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- Overview.src.html	16 Sep 2011 22:33:01 -0000	1.65
+++ Overview.src.html	16 Sep 2011 23:24:47 -0000	1.66
@@ -368,6 +368,8 @@
 		<li>If any <i>flexible length</i> is violating a min or max width or height constraint, change it into an inflexible length that's not violating the constraint, then go back to the previous step.  Keep repeating this until either there are no <i>flexible lengths</i> left, or every <i>flexible length</i> has successfully resolved without violating any constraints.</li>
 	</ol>
 
+	<p>If a flexible length is used in a context where it is not allowed (for example, on the 'width' property of an element that is not a <i>flexbox item</i>), it represents its <i>preferred size</i>.  Authors must not use flexible lengths in contexts where they are not allowed.</p>
+
 	<p class='issue'>Examples!</p>
 
 
Received on Friday, 16 September 2011 23:24:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 16 September 2011 23:24:55 GMT