W3C home > Mailing lists > Public > www-style@w3.org > April 2005

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

From: Rijk van Geijtenbeek <rijk@opera.com>
Date: Fri, 15 Apr 2005 15:54:54 +0200
To: "WWW Style" <www-style@w3.org>
Message-ID: <op.so90xswuicz8n2@rijk-01.lan>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT