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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 25 Jun 2010 10:24:11 +0200
To: "Henri Sivonen" <hsivonen@iki.fi>, "Robert O'Callahan" <robert@ocallahan.org>
Cc: "www-style List" <www-style@w3.org>
Message-ID: <op.veuj95fg64w2qv@annevk-t60>
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
Received on Friday, 25 June 2010 08:25:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:34:38 UTC