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

On Fri, 15 Apr 2005 15:35:12 +0200, Anne van Kesteren wrote:

>
> What happens in the following situation:
>
>   <foo>
>    <bar>
>     ...
>    </bar>
>   </foo>
>
> (Lets assume for the moment that FOO is not the root element, but some
> descendent.) With the following style rule applied:
>
>   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'>
>           ...
>
> ... or not?

Looks like it.

> This is insanely complex if you ask me...

Yes, I wouldn't advise using that in your markup. But I think it is the only sane way to handle it.


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

Yep, Mozilla's rendering (tried Firefox 1) is correct. Opera isn't very tidy with the table rows after you pull a trick like this.

-- 
The Web is a procrastination apparatus:    |  Rijk van Geijtenbeek
It can absorb as much time as              |   Documentation & QA
is required to ensure that you             |   Opera Software ASA
won't get any real work done.  - J.Nielsen |http://my.opera.com/Rijk/journal

Received on Friday, 15 April 2005 13:55:04 UTC