W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] Pre element question

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 20 Jan 2007 10:08:54 +0100
Message-ID: <op.tmf3o4ae64w2qv@id-c0020>
On Sat, 20 Jan 2007 01:08:12 +0100, Ian Hickson <ian at hixie.ch> wrote:
> I couldn't reproduce this. In Firefox trunk, with:
>
> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%3Cstyle%3Epre%20%7B%20border%3A%20solid%3B%20%7D%3C/style%3E%0A%3Cpre%3E%0Ax%0A%3C/pre%3E
>
> ...I get the leading newline dropped.

In Firefox 2, Opera 9 and Internet Explorer 7 the trailing newline is  
ignored as well.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 20 January 2007 01:08:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC