W3C home > Mailing lists > Public > www-style@w3.org > August 2011

Re: [css3-flexbox] 'flex-order' vs. 'flex-index'

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 15 Aug 2011 12:42:15 -0700
Message-ID: <4E497697.4000905@inkedblade.net>
To: www-style@w3.org
On 08/08/2011 08:15 PM, Alex Mogilevsky wrote:
> There is an issue on naming of ‘flex-order’ property that we didn’t get a resolution for at F2F:
>
> http://dev.w3.org/csswg/css3-flexbox/#flex-order
>
> I propose keeping flex-order. I think it is better because
>
> ·Z-index is “position on Z axis”, or “value of Z”. It could just be called “Z” but it probably isn’t because it is integer.
>
> ·Flex-order is order of processing. It is not “index on flex axis” or “value of flex”
>
> ·Keeping the name “order” directly points at the fact that flexbox reorders its children for all purposes.
>
> Any arguments in favor of “flex-index”?

I still think consistency with z-index makes sense:
   - Like z-index, which indicates order on the z-axis, it indicates the order on the flexbox main axis
   - Like z-index, items with the same value are grouped and subsorted by document order

~fantasai
Received on Monday, 15 August 2011 19:42:46 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:43 GMT