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

On 17/05/2012 03:22, fantasai wrote:
> 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.
>
> My preference depends on whether it affects z-order, since
> I think C. implies that it does.

Of the three options, I prefer C, despite fantasai's concern.  The fact 
that z-index uses "index" and display-order uses "order" reduces the 
confusion, I think.

Cheers,
Anton Prowse
http://dev.moonhenge.net

Received on Thursday, 17 May 2012 06:30:44 UTC