- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 24 Jan 2012 23:36:17 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-flexbox
In directory hutz:/tmp/cvs-serv700
Modified Files:
Overview.html Overview.src.html
Log Message:
Added pictures to the flex-flow example.
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-flexbox/Overview.html,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- Overview.html 24 Jan 2012 22:43:41 -0000 1.103
+++ Overview.html 24 Jan 2012 23:36:15 -0000 1.104
@@ -848,15 +848,42 @@
<div class=example>
<p>Some examples of valid flows:</p>
- <pre>
-div { flex-flow: row; } /* Initial value. Main axis is inline,
- no wrap. */
-div { flex-flow: column wrap; } /* Main axis is block-direction and lines
- wrap in the inline direction. For an
- English page, the main axis is top-to-bottom
- and lines wrap to the right. */
-div { writing-mode: tb-rl; /* Main axis is block direction (right to left).
- flex-flow: column wrap-reverse; } /* New lines wrap upwards. */</pre>
+ <div class=code-and-figure>
+ <div>
+ <pre>
+div { flex-flow: row; }
+/* Initial value. Main axis is
+ inline, no wrap. */</pre>
+ </div>
+
+ <div><img height=80 src="images/flex-flow1.svg" width=200></div>
+ </div>
+
+ <div class=code-and-figure>
+ <div>
+ <pre>
+div { flex-flow: column wrap; }
+/* Main axis is block-direction and lines
+ wrap in the inline direction. For an
+ English page, the main axis is top-to-bottom
+ and lines wrap to the right. */</pre>
+ </div>
+
+ <div><img height=200 src="images/flex-flow2.svg" width=170></div>
+ </div>
+
+ <div class=code-and-figure>
+ <div>
+ <pre>
+div { writing-mode: tb-rl;
+ flex-flow: column wrap-reverse; }
+/* Main axis is block direction (right to
+ left). New lines wrap upwards. */
+ </pre>
+ </div>
+
+ <div><img height=170 src="images/flex-flow3.svg" width=200></div>
+ </div>
</div>
<h3 id=flex-order><span class=secno>3.2. </span> Display Order: the
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-flexbox/Overview.src.html,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- Overview.src.html 24 Jan 2012 22:43:41 -0000 1.103
+++ Overview.src.html 24 Jan 2012 23:36:15 -0000 1.104
@@ -366,15 +366,32 @@
<div class="example">
<p>Some examples of valid flows:</p>
- <pre>
-div { flex-flow: row; } /* Initial value. Main axis is inline,
- no wrap. */
-div { flex-flow: column wrap; } /* Main axis is block-direction and lines
- wrap in the inline direction. For an
- English page, the main axis is top-to-bottom
- and lines wrap to the right. */
-div { writing-mode: tb-rl; /* Main axis is block direction (right to left).
- flex-flow: column wrap-reverse; } /* New lines wrap upwards. */</pre>
+ <div class='code-and-figure'>
+ <div><pre>
+div { flex-flow: row; }
+/* Initial value. Main axis is
+ inline, no wrap. */</pre></div>
+ <div><img src='images/flex-flow1.svg' width=200 height=80></div>
+ </div>
+ <div class='code-and-figure'>
+ <div><pre>
+div { flex-flow: column wrap; }
+/* Main axis is block-direction and lines
+ wrap in the inline direction. For an
+ English page, the main axis is top-to-bottom
+ and lines wrap to the right. */</pre>
+ </div>
+ <div><img src='images/flex-flow2.svg' width=170 height=200></div>
+ </div>
+ <div class='code-and-figure'>
+ <div><pre>
+div { writing-mode: tb-rl;
+ flex-flow: column wrap-reverse; }
+/* Main axis is block direction (right to
+ left). New lines wrap upwards. */
+ </div>
+ <div><img src='images/flex-flow3.svg' width=200 height=170></div>
+ </div>
</div>
Received on Tuesday, 24 January 2012 23:36:18 UTC