Re: [css21] Anonymous table objects - box tree?

On Wed, 24 Nov 2010 18:22:23 +0100, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 11/24/10 11:42 AM, Øyvind Stenhaug wrote:
>> "For each 'table-cell' box C in a sequence of consecutive internal table
>> and 'table-caption' siblings, if C's parent is not a 'table-row' then
>> generate an anonymous 'table-row' box around C and all consecutive
>> siblings of C that are 'table-cell' boxes."
>>
>> So...
>> - is "C's parent" actually referring to a link in the formatting
>> structure?
>
> Yes.
>
>  > If so, where is the table-caption's box located at this point
>> in time
>
> It's a child of the table box.  The assumption is that this algorithm is  
> run once all the rest of the formatting tree construction work has  
> happened.

But presumably, then, that tree construction work has generated some sort  
of intermediate structure that mostly resembles the DOM tree, and e.g. the  
table-caption is not yet put in the proper place outside the table box.

> That should perhaps be made clearer.
>
>> is it a "consecutive sibling" or not?
>
> Yes.

I suspected as much, but yes, I think this stuff should be stated  
explicitly (which, I'm sure, is easier said than done).

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA

Received on Wednesday, 24 November 2010 19:29:48 UTC