W3C home > Mailing lists > Public > www-style@w3.org > March 2008

Re: [CSS21] Concern about anonymous table objects and whitespace

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 04 Mar 2008 15:02:15 -0800
Message-ID: <47CDD4F7.9090903@inkedblade.net>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: www-style Mailing List <www-style@w3.org>

Boris Zbarsky wrote:
> 
> fantasai wrote:
>> Hixie points out that the answer here is "no" because of
>>   http://www.w3.org/TR/CSS21/visuren.html#anonymous
>>   # Whitespace content that would subsequently be collapsed away 
>> according
>>   # to the 'white-space' property does not generate any anonymous inline
>>   # boxes.
>>
>> Does that resolve this issue?
> 
> Not really, because the white-space:pre style means that this whitespace 
> would not be collapsed away.

So, would a rule 4½ added to the anonymous box generation rules
   http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes
that states

   4½. If a child T of a 'table', 'inline-table', 'table-row-group',
       'table-header-group', 'table-footer-group', or 'table-row' box
       is an anonymous inline box that contains only white space, then
       it is treated as if it has "display: none".

solve the problem?

~fantasai
Received on Tuesday, 4 March 2008 23:01:57 GMT

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