W3C home > Mailing lists > Public > public-html@w3.org > August 2007

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

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 23 Aug 2007 00:25:14 +0000 (UTC)
To: "Michael A. Puls II" <shadow2531@gmail.com>
Cc: Simon Pieters <simonp@opera.com>, public-html <public-html@w3.org>
Message-ID: <Pine.LNX.4.64.0708230024520.29534@dhalsim.dreamhost.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:04 GMT