[whatwg] Pre element question

Anne van Kesteren annevk at opera.com
Sat Jan 20 16:29:54 PST 2007


On Sat, 20 Jan 2007 16:32:31 -0500, Simon Pieters <zcorpan at hotmail.com>  
wrote:
> From: "Anne van Kesteren" <annevk at 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

Ah ok. Works for me.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list