W3C home > Mailing lists > Public > www-style@w3.org > May 2012

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

From: Phil Cupp <pcupp@microsoft.com>
Date: Fri, 18 May 2012 00:27:10 +0000
To: "www-style@w3.org" <www-style@w3.org>, "Tab Atkins Jr. (jackalmage@gmail.com)" <jackalmage@gmail.com>
Message-ID: <9BFF145D69548148BC2B26C0C9EE103306C27C84@SN2PRD0310MB396.namprd03.prod.outlook.com>
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>

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?

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:16 UTC