|
16 | 16 |
|
17 | 17 | <h1 id=head-box-flexible>CSS Flexible Box Layout Module</h1> |
18 | 18 |
|
19 | | - <h2 class="no-num no-toc" id=w3c-working>Editor's Draft, 3 September 2011</h2> |
| 19 | + <h2 class="no-num no-toc" id=w3c-working>Editor's Draft, 7 September 2011</h2> |
20 | 20 |
|
21 | 21 | <dl> |
22 | 22 | <dt>This version: |
23 | 23 |
|
24 | | - <dd><!-- <a href="http://www.w3.org/TR/2011/WD-css3-flexbox-20110903/">http://www.w3.org/TR/2011/WD-css3-flexbox-20110903/</a></dd> --> |
| 24 | + <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> --> |
25 | 25 | <a |
26 | 26 | href="http://dev.w3.org/csswg/css3-flexbox/">http://dev.w3.org/csswg/css3-flexbox/</a> |
27 | 27 |
|
@@ -252,8 +252,8 @@ <h2 id=box-model><span class=secno>2. </span> The Flexbox Box Model</h2> |
252 | 252 | directly and which children are instead wrapped in anonymous boxes which |
253 | 253 | are then <a href="#flexbox-item"><i>flexbox items</i></a>)</span> |
254 | 254 |
|
255 | | - <p>The flexbox layout algorithm works is agnostic as to the physical |
256 | | - direction the flexbox happens to be laid out in, so we will define several |
| 255 | + <p>The flexbox layout algorithm is agnostic as to the physical direction |
| 256 | + the flexbox happens to be laid out in, so we will define several |
257 | 257 | direction-agnostic terms here to make the rest of the spec easier to read |
258 | 258 | and understand. The <dfn id=main-axis>main axis</dfn> of a flexbox is the |
259 | 259 | axis on which <a href="#flexbox-item"><i>flexbox items</i></a> are laid |
@@ -490,11 +490,11 @@ <h3 id=flex-items><span class=secno>2.2. </span> Flexbox Items</h3> |
490 | 490 | <p>First, find the element's <dfn id=hypothetical-neighbors>hypothetical |
491 | 491 | neighbors</dfn> by assuming that the element is a normal <a |
492 | 492 | href="#flexbox-item"><i>flexbox item</i></a> with ‘<code |
493 | | - class=css>flex-order:1</code>’, and reorder the flexbox's contents |
| 493 | + class=css>flex-order:0</code>’, and reorder the flexbox's contents |
494 | 494 | as mandated by ‘<a href="#flex-order0"><code |
495 | 495 | class=property>flex-order</code></a>’. The <a |
496 | 496 | href="#flexbox-item"><i>flexbox items</i></a> immediately preceding and |
497 | | - following (in the flexbox's direction) the element (if any) are the |
| 497 | + following the element in the flexbox's direction (if any) are the |
498 | 498 | element's <a href="#hypothetical-neighbors"><i>hypothetical |
499 | 499 | neighbors</i></a>. |
500 | 500 |
|
@@ -727,15 +727,16 @@ <h3 id=flex-flow><span class=secno>3.1. </span> Flexbox Flow Direction: the |
727 | 727 | aligned by the ‘<a href="#flex-line-pack0"><code |
728 | 728 | class=property>flex-line-pack</code></a>’ property. |
729 | 729 |
|
730 | | - <p>If the second keyword is omitted, the flexbox is single-line, the <a |
| 730 | + <p>If the second keyword is omitted, the flexbox is <a |
| 731 | + href="#single-line"><i>single-line</i></a>, the <a |
731 | 732 | href="#cross-start"><i>cross-start</i></a> direction is equivalent to |
732 | 733 | either the "start" or "before" direction of the current writing mode, |
733 | 734 | whichever is in the <i>cross-axis</i>, and the <a |
734 | 735 | href="#cross-end"><i>cross-end</i></a> direction is the opposite direction |
735 | 736 | of <a href="#cross-start"><i>cross-start</i></a>. |
736 | 737 |
|
737 | 738 | <p>If the second keyword is provided, the flexbox is <a |
738 | | - href="#multiline">multi-line</a>. The <a |
| 739 | + href="#multi-line"><i>multi-line</i></a>. The <a |
739 | 740 | href="#cross-start"><i>cross-start</i></a> and <a |
740 | 741 | href="#cross-end"><i>cross-end</i></a> directions are set as follows: |
741 | 742 |
|
@@ -795,6 +796,26 @@ <h3 id=flex-flow><span class=secno>3.1. </span> Flexbox Flow Direction: the |
795 | 796 | flex-flow:vertical wrap-reverse } /* cross axis is left-to-right (opposite to block direction) */</pre> |
796 | 797 | </div> |
797 | 798 |
|
| 799 | + <div class=issue> |
| 800 | + <p>Are all these values necessary? I suspect we could get away with just:</p> |
| 801 | + |
| 802 | + <pre> |
| 803 | + [ row | row-reverse | column | column-reverse ] |
| 804 | + [ wrap | wrap-reverse ]? |
| 805 | +| |
| 806 | + to [ top | bottom ] |
| 807 | + [ wrap-right | wrap-left ]? |
| 808 | +| |
| 809 | + to [ right | left ] |
| 810 | + [ wrap-up | wrap-down ]?</pre> |
| 811 | + |
| 812 | + <p>In other words, just provide a pure-logical or pure-physical variant, |
| 813 | + rather than mixing physical and logical like with "horizontal wrap".</p> |
| 814 | + </div> |
| 815 | + |
| 816 | + <p class=issue>Is there a good, shorter way to refer to the reversed |
| 817 | + physical directions than the 8-character "-reverse" suffix? |
| 818 | + |
798 | 819 | <h3 id=flex-order><span class=secno>3.2. </span> Display Order: the |
799 | 820 | ‘<a href="#flex-order0"><code |
800 | 821 | class=property>flex-order</code></a>’ property</h3> |
|
0 commit comments