W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: [CSS21][CSS3 Text] Re: Treating carriage return as white space in layout

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 3 Aug 2010 17:06:51 +0300
Cc: "www-style@w3.org List" <www-style@w3.org>
Message-Id: <8EAFEAF5-13CA-4722-A3C6-239EBFF7201A@iki.fi>
To: fantasai <fantasai.lists@inkedblade.net>
On Aug 3, 2010, at 16:51, Henri Sivonen wrote:

> On Aug 2, 2010, at 23:23, fantasai wrote:
>>>> # The document parser must normalize line break character sequences according
>>>> # to its own format rules before CSS processing takes effect.
>>> ...but this part steps outside the jurisdiction of CSS (or is at least a weird
>>> use of 'must' to reinforce whatever 'its own format rules' say)...
>> I think it's reasonable for CSS to say whether CSS white space collapsing
>> takes effect before or after non-CSS processing.
> Fair enough.

I take that back. Since it would be non-sensical to for CSS white space collapsing to take effect before non-CSS processing, it doesn't make sense to use "must". It would be fair to non-normatively note that the document parser for HTML and XML has done some line break normalization at this point but there may still by carriage returns in the document tree.

Henri Sivonen
Received on Tuesday, 3 August 2010 14:07:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:48 UTC