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

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 UTC