Re: [CSS] 'display: none' blocks still break surrounding inline content into different blocks

/Irene Vatton/:
> On Thursday 19 October 2006 10:59, Stanimir Stamenkov wrote:
>> <div class="test">
>>   foo
>>   <p class="hr"></p>
>>   bar
>> </div>
>> There's a whitespace after "foo" and there's whitespace prior "bar"
>> - this should be collapsed to a single space and the result should
>> be "foo bar".
> This requires a deep change as extra spaces are removed at parsing.

Hm, seems I don't understand - why is the whitespace removed at 
parsing? Shouldn't it be considered significant, especially once 
|white-space: pre| is supported and the "div.test" has it applied?


Received on Tuesday, 24 October 2006 20:12:32 UTC