[whatwg] Pre element question

Anne van Kesteren annevk at opera.com
Sat Jan 20 01:08:54 PST 2007


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/>



More information about the whatwg mailing list