RE: [css3-flexbox] Rename 'flex-order'

On 05/16/2012 05:55 PM, Tab Atkins Jr. wrote:
> Issue link: 
> http://wiki.csswg.org/topics/css3-flexbox-rename-flex-order

>
> Should we rename the 'flex-order' property? Its functionality may be 
> useful in other new layout specs, such as in Grid's auto-layout 
> algorithm (which is basically a simple version of Flexbox), so putting 
> it under a “flex-” prefix wouldn't be good. As well, 'flex-order'
> might be a good name in the future for putting elements in “flex 
> groups”, such that one group gets first crack at the free space ahead 
> of other (in the old flexbox spec, this was called 'box-flex-group').
>
> (There are no plans right now to make this applicable to existing 
> layout modes like block or table.  It would simply have no effect in
> those.)
>
> A. (current spec) Name it 'flex-order'.
>
> B. Name it 'box-order'.
>
> C. Name it 'display-order'.
>
> I prefer C.

Couple of questions to better understand the scope of the new generic order property.

Does the re-ordering come before or after markup fix-up?  If I have:

<div style="display:flex">
   <span style="display-order:3">A</span>
   <span style="display-order:1">B</span>
   <div style="display-order:2">C</div>
</div>

What do I get?

If the A and B spans and C div above were all replaced with input tags, in what order should we tab through them?

-Phil

Received on Friday, 18 May 2012 00:27:52 UTC