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

csswg/css3-flexbox Overview.html,1.62,1.63 Overview.src.html,1.61,1.62

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 08 Sep 2011 23:23:10 +0000
To: public-css-commits@w3.org
Message-Id: <E1R1nw6-0001Cq-1h@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-flexbox
In directory hutz:/tmp/cvs-serv4620

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Added note about limitations and planned future developments of flex-pack.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-flexbox/Overview.html,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- Overview.html	7 Sep 2011 22:13:37 -0000	1.62
+++ Overview.html	8 Sep 2011 23:23:07 -0000	1.63
@@ -16,12 +16,12 @@
 
    <h1 id=head-box-flexible>CSS Flexible Box Layout Module</h1>
 
-   <h2 class="no-num no-toc" id=w3c-working>Editor's Draft, 7 September 2011</h2>
+   <h2 class="no-num no-toc" id=w3c-working>Editor's Draft, 8 September 2011</h2>
 
    <dl>
     <dt>This version:
 
-    <dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-flexbox-20110907/">http://www.w3.org/TR/2011/WD-css3-flexbox-20110907/</a></dd> -->
+    <dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-flexbox-20110908/">http://www.w3.org/TR/2011/WD-css3-flexbox-20110908/</a></dd> -->
      <a
      href="http://dev.w3.org/csswg/css3-flexbox/">http://dev.w3.org/csswg/css3-flexbox/</a>
      
@@ -1112,6 +1112,18 @@
    <p class=issue>TODO: Examples showing the four values.</p>
   </div>
 
+  <p class=note>A previous revision of this spec allowed margins to flex
+   directly, which allowed an effect similar to &lsquo;<a
+   href="#flex-pack0"><code class=property>flex-pack</code></a>&rsquo;. In
+   particular, it allowed an author to, for example, split a flexbox in half,
+   with some of the items pushed toward the start and the rest pushed toward
+   the end, by flexing exactly one margin. This sort of effect is no longer
+   possible without either using the ::before or ::after pseudoelements or
+   adding additional elements to the document, to act as an empty item that
+   can then flex. It's expected that we will develop something in the future
+   to make this easier, such as a more general pseudoelement or perhaps the
+   ability to explicitly control individual spaces between flexbox items.
+
   <h3 id=flex-align><span class=secno>5.2. </span> Cross Axis Alignment: the
    &lsquo;<a href="#flex-align0"><code
    class=property>flex-align</code></a>&rsquo; property</h3>

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-flexbox/Overview.src.html,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- Overview.src.html	7 Sep 2011 22:13:37 -0000	1.61
+++ Overview.src.html	8 Sep 2011 23:23:07 -0000	1.62
@@ -510,6 +510,8 @@
 		<p class=issue>TODO: Examples showing the four values.</p>
 	</div>
 
+	<p class='note'>A previous revision of this spec allowed margins to flex directly, which allowed an effect similar to 'flex-pack'.  In particular, it allowed an author to, for example, split a flexbox in half, with some of the items pushed toward the start and the rest pushed toward the end, by flexing exactly one margin.  This sort of effect is no longer possible without either using the ::before or ::after pseudoelements or adding additional elements to the document, to act as an empty item that can then flex.  It's expected that we will develop something in the future to make this easier, such as a more general pseudoelement or perhaps the ability to explicitly control individual spaces between flexbox items.</p>
+
 
 <h3 id='flex-align'>
 Cross Axis Alignment: the 'flex-align' property</h3>
Received on Thursday, 8 September 2011 23:23:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 8 September 2011 23:23:12 GMT