W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2006

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

From: Stanimir Stamenkov <stanio@myrealbox.com>
Date: Tue, 24 Oct 2006 20:55:51 +0300
Message-ID: <453E53A7.2080202@myrealbox.com>
To: "www-amaya.w3.org" <www-amaya@w3.org>
/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?

-- 
Stanimir



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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:44 GMT