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

[whatwg] Pre element question

From: Simon Pieters <zcorpan@hotmail.com>
Date: Sat, 20 Jan 2007 21:32:31 +0000
Message-ID: <BAY109-F24AE7C2FD734024B9D98CCB4A80@phx.gbl>
Hi,

From: "Anne van Kesteren" <annevk@opera.com>
>In Firefox 2, Opera 9 and Internet Explorer 7 the trailing newline is  
>ignored as well.

No, AFAICT the last line is present in the DOM.

>[3:32] <zcorpan> how does mozilla implement the ignoring of the last line?
>[3:32] <zcorpan> or any browser for that matter
>[3:33] <Hixie> wait!
>[3:33] <Hixie> you don't need to ignore the last newline!
>[3:33] <Hixie> it disappears on its own because of CSS!
>[...]
>[3:35] <Hixie> the newline is on the last line, there is no new line after 
>it, since there's nothing after it
-- http://whatbot.charlvn.za.net/index.php?date=2007-01-20

Regards,
Simon Pieters

_________________________________________________________________
V?rlden bevakas p? MSN http://nyheter.msn.se/
Received on Saturday, 20 January 2007 13:32:31 UTC

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