Re: [CSSWG] Minutes and Resolutions 2010-04-21

On 05/21/2010 08:22 PM, Boris Zbarsky wrote:
> On 5/21/10 7:25 PM, Tab Atkins Jr. wrote:
>>> In that case, what's your mental model of the box tree in this case:
>>>
>>> <div style="display: table">
>>> <div style="display: table-cell"/>
>>> <div style="position: absolute"/>
>>> <div style="display: table-row"/>
>>> </div>
>>>
>>> What are the siblings of the absolutely positioned box? What is its
>>> parent?
>>> What are the siblings' parents? Why does any of that make any sense?
>>
>> Excellent question. To the spec! (Or rather, the proposed spec text
>> from fantasai.)
>>
>> By rule 2.1, the markup is repaired by wrapping the first div, and
>> only the first div, in an anonymous table row.
>
> Hmmm.... yeah, ok. That would be a bug in fantasai's spec, then.

Actually, it's a feature. :) I deliberately left out handling of
abspos elements entirely. (I actually deleted text about abspos
elements from an earlier draft before posting to the list.)

~fantasai

Received on Saturday, 22 May 2010 03:46:06 UTC