Re: Whitespace after </body> (detailed review of parsing algorithm)

On Wed, 22 Aug 2007, Michael A. Puls II wrote:
> 
> What about <body><p></p></body>\n</html> (where \n is a newline)?
> 
> In Safari and Opera, the newline gets added as a text node after the p 
> in body. In FF and IE, it does not.
> 
> Since a newline is white-space, I assume it's the same deal and Safari 
> and Opera are right. Correct?

Per the current spec, yes.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 23 August 2007 00:30:31 UTC