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

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 UTC