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

On Fri, 25 Jun 2010 02:34:19 +0200, Robert O'Callahan  
<robert@ocallahan.org> wrote:
> On Thu, Jun 24, 2010 at 11:49 PM, Henri Sivonen <hsivonen@iki.fi> wrote:
>> A (script-inserted) CRLF in <pre> causes one line break and Opera 10.60
>> beta and two in IE8 and IE9 PP3.
>>
>> Of these, I think the behavior of IE9 PP3 is the most sensible. (I think
>> the behavior of Opera 10.60 is an overkill.)
>
> I don't think CRLF in <pre> should cause two line breaks. CRLF in "plain
> text" commonly means one line break.

I think CSS having the same newline rules as every other format would  
probably make the most sense. I.e. CR, LF, or CRLF.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Friday, 25 June 2010 08:25:04 UTC