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

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

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 16 Sep 2011 23:32:01 +0000
To: public-css-commits@w3.org
Message-Id: <E1R4ht3-0006K2-GH@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-flexbox
In directory hutz:/tmp/cvs-serv24276

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Fixed the 'center' values to do 'true centering'. We can add the ability to do 'safe centering' in the future.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-flexbox/Overview.html,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- Overview.html	16 Sep 2011 23:24:46 -0000	1.66
+++ Overview.html	16 Sep 2011 23:31:59 -0000	1.67
@@ -940,15 +940,14 @@
    <dt><dfn id=flex-pack-center>center</dfn>
 
    <dd><a href="#flexbox-item"><i>Flexbox items</i></a> are packed toward the
-    center of the line. If the leftover free-space is negative, this value is
-    identical to &lsquo;<a href="#flex-line-pack-start"><code
-    class=css>start</code></a>&rsquo;. Otherwise, the <a
-    href="#flexbox-item"><i>flexbox items</i></a> on the line are placed
-    flush with each other and aligned in the center of the line, with equal
-    amounts of empty space between the <a
+    center of the line. The <a href="#flexbox-item"><i>flexbox items</i></a>
+    on the line are placed flush with each other and aligned in the center of
+    the line, with equal amounts of empty space between the <a
     href="#main-start"><i>main-start</i></a> edge of the line and the first
     item on the line and between the <a href="#main-end"><i>main-end</i></a>
-    edge of the line and the last item on the line.
+    edge of the line and the last item on the line. (If the leftover
+    free-space is negative, the <a href="#flexbox-item"><i>flexbox
+    items</i></a> will overflow equally in both directions.)
 
    <dt><dfn id=flex-pack-distribute>distribute</dfn>
 
@@ -1308,15 +1307,14 @@
 
    <dt><dfn id=flex-line-pack-center>center</dfn>
 
-   <dd>Lines are packed toward the center of the flexbox. If the leftover
-    free-space is negative, this value is identical to &lsquo;<a
-    href="#flex-line-pack-start"><code class=css>start</code></a>&rsquo;.
-    Otherwise, the lines in the flexbox are placed flush with each other and
-    aligned in the center of the flexbox, with equal amounts of empty space
-    between the <a href="#cross-start"><i>cross-start</i></a> content edge of
-    the flexbox and the first line in the flexbox and between the <a
+   <dd>Lines are packed toward the center of the flexbox. The lines in the
+    flexbox are placed flush with each other and aligned in the center of the
+    flexbox, with equal amounts of empty space between the <a
+    href="#cross-start"><i>cross-start</i></a> content edge of the flexbox
+    and the first line in the flexbox and between the <a
     href="#cross-end"><i>cross-end</i></a> content edge of the flexbox and
-    the last line in the flexbox.
+    the last line in the flexbox. (If the leftover free-space is negative,
+    the lines will overflow equally in both directions.)
 
    <dt><dfn id=flex-line-pack-distribute>distribute</dfn>
 

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-flexbox/Overview.src.html,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- Overview.src.html	16 Sep 2011 23:24:47 -0000	1.66
+++ Overview.src.html	16 Sep 2011 23:31:59 -0000	1.67
@@ -416,7 +416,7 @@
 		<dd><i>Flexbox items</i> are packed toward the end of the line.  The <i>main-end</i> margin edge of the last <i>flexbox item</i> is placed flush with the <i>main-end</i> edge of the line, and each preceding <i>flexbox item</i> is placed flush with the subsequent item.</dd>
 
 		<dt><dfn id='flex-pack-center'>center</dfn></dt>
-		<dd><i>Flexbox items</i> are packed toward the center of the line.  If the leftover free-space is negative, this value is identical to ''start''.  Otherwise, the <i>flexbox items</i> on the line are placed flush with each other and aligned in the center of the line, with equal amounts of empty space between the <i>main-start</i> edge of the line and the first item on the line and between the <i>main-end</i> edge of the line and the last item on the line.</dd>
+		<dd><i>Flexbox items</i> are packed toward the center of the line.  The <i>flexbox items</i> on the line are placed flush with each other and aligned in the center of the line, with equal amounts of empty space between the <i>main-start</i> edge of the line and the first item on the line and between the <i>main-end</i> edge of the line and the last item on the line.  (If the leftover free-space is negative, the <i>flexbox items</i> will overflow equally in both directions.)</dd>
 
 		<dt><dfn id='flex-pack-distribute'>distribute</dfn></dt>
 		<dd><i>Flexbox items</i> are evenly distributed in the line.  If the leftover free-space is negative or there is only a single <i>flexbox item</i> on the line, this value is identical to ''start''.  Otherwise, the <i>main-start</i> margin edge of the first <i>flexbox item</i> on the line is placed flush with the <i>main-start</i> edge of the line, the <i>main-end</i> margin edge of the last <i>flexbox item</i> on the line is placed flush with the <i>main-end</i> edge of the line, and the remaining <i>flexbox items</i> on the line are distributed so that the empty space between any two adjacent items is the same.</dd>
@@ -613,7 +613,7 @@
 		<dd>Lines are packed toward the end of the flexbox.  The <i>cross-end</i> edge of the last line is placed flush with the <i>cross-end</i> edge of the flexbox, and each preceding line is placed flush with the subsequent line.</dd>
 
 		<dt><dfn id='flex-line-pack-center'>center</dfn></dt>
-		<dd>Lines are packed toward the center of the flexbox.  If the leftover free-space is negative, this value is identical to ''start''.  Otherwise, the lines in the flexbox are placed flush with each other and aligned in the center of the flexbox, with equal amounts of empty space between the <i>cross-start</i> content edge of the flexbox and the first line in the flexbox and between the <i>cross-end</i> content edge of the flexbox and the last line in the flexbox.</dd>
+		<dd>Lines are packed toward the center of the flexbox.  The lines in the flexbox are placed flush with each other and aligned in the center of the flexbox, with equal amounts of empty space between the <i>cross-start</i> content edge of the flexbox and the first line in the flexbox and between the <i>cross-end</i> content edge of the flexbox and the last line in the flexbox.  (If the leftover free-space is negative, the lines will overflow equally in both directions.)</dd>
 
 		<dt><dfn id='flex-line-pack-distribute'>distribute</dfn></dt>
 		<dd>Lines are evenly distributed in the flexbox.  If the leftover free-space is negative or there is only a single line in the flexbox, this value is identical to ''start''.  Otherwise, the <i>cross-start</i> edge of the first line in the flexbox is placed flush with the <i>cross-start</i> content edge of the flexbox, the <i>cross-end</i> edge of the last line in the flexbox is placed flush with the <i>cross-end</i> content edge of the flexbox, and the remaining lines in the flexbox are distributed so that the empty space between any two adjacent lines is the same.</dd>
Received on Friday, 16 September 2011 23:32:03 GMT

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