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

Boris Zbarsky wrote:
> 
> Consider the following markup (assuming the usual default HTML styling):
> 
>   <body style="white-space: pre">
>     <div style="display:table-cell">One</div>
>     <div style="display:table-cell">Two</div>
>   </body>
> 
> with the whitespace exactly as it is in the example.  Let us denote the 
> whitespace-only Text node between the two HTMLDivElement nodes by the 
> letter W.
> 
> What is the correct rendering?
> 
> Per section 16.6.1 [1], any text that is "directly contained inside a 
> block element" is treated as an anonymous inline.  Does this apply to W?

Recorded as issue 8:
   http://csswg.inkedblade.net/spec/css2.1#issue-8

~fantasai

Received on Thursday, 11 October 2007 16:20:34 UTC