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

Re: [css3-flexbox] miscellaneous comments on Chapter 4. Flex Items

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 25 Jul 2012 12:50:37 -0700
Message-ID: <50104E0D.50906@inkedblade.net>
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
CC: Anton Prowse <prowse@moonhenge.net>, WWW Style <www-style@w3.org>
On 07/06/2012 12:57 AM, Kang-Hao (Kenny) Lu wrote:
> (12/07/06 15:19), Anton Prowse wrote:
>> On 04/07/2012 17:55, Kang-Hao (Kenny) Lu wrote:
>>>
>>> I think my exact question is, for a case like
>>>
>>> <div style="display: flex">
>>>     <span>A</span>
>>>     <span style="position: absolute; order: -1;">B</span>
>>>     <span style="order: -1">C</span>
>>> </div>
>>>
>>> is the place holder before A or not? Or in other words, does the place
>>> holder has 'order: -1' or 'order: 0'?
>>>
>>> Your s/// seems to suggest 'order: 0' but I think the wording is still a
>>> bit vague. The hypothetical non-flex normal flow would be "A placeholder
>>> C" but I think you want "C A placeholder" or "placeholder C A".
>>
>> Indeed.
>
> At this point, I am actually more interested in knowing the 'order' of
> the placeholder instead of saying again and again that I can't get the
> answer from the prose. The truth is, I still don't know.
>
> Can someone tell me what 'order' does the placeholder in the above have?
> Can I safely say it's '0' now?
>
> (Though I'd like to question if that's actually the behavior we want.)

The CSSWG resolved to have 'order' not apply to absolutely-positioned
elements. For the purpose of determining the static position, the
placeholder has all properties set to their initial values, including
'order'. Let me know if this is satisfactory.

Wrt exact text, we're still working that out. See the thread at
   http://lists.w3.org/Archives/Public/www-style/2012Jul/0258.html

~fantasai
Received on Wednesday, 25 July 2012 19:51:07 GMT

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