Re: [css2.1] nested table-row-groups

Anne van Kesteren wrote:
> What happens in the following situation:
> 
>   <foo>
>    <bar>
>     ...
>    </bar>
>   </foo>
> [...]
>   foo,bar{display:table-row-group}
> [...]
> 
> Should the final outcome look something like:
> 
>   <'inline-table'
>    <foo>
>     <'table-row'>
>      <'table-cell'>
>       <'table'>
>        <bar>
>         <'table-row'>
>          <'table-cell'>
>           ...

My understanding of the spec says it should. Insanely complex? Not 
quite, but close. Similar results can be achieved with
   foo,bar{display:table-row}
too, if I haven't misunderstood something. A table row cannot be a 
direct child of an another table row, right?

> See also: <https://bugzilla.mozilla.org/show_bug.cgi?id=290444>

I'd label that bug as INVALID. The test case [1] renders just like 
I'd expect it to render [2] because tr.bug has computed display 
value table-row-group (inherited from tbody).

[1] https://bugzilla.mozilla.org/attachment.cgi?id=180785
[2] Mozilla/5.0 (... rv:1.7.5) Gecko/20041107 Firefox/1.0

-- 
Mikko

Received on Friday, 15 April 2005 14:00:07 UTC