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

Re: Serialize U+00A0 as   in HTML? (detailed review of Serializing HTML fragments)

From: Julian Reschke <julian.reschke@gmx.de>
Date: Mon, 27 Aug 2007 18:40:49 +0200
Message-ID: <46D2FE91.5040507@gmx.de>
To: Simon Pieters <simonp@opera.com>
CC: public-html <public-html@w3.org>

Simon Pieters wrote:
> (This is part of my detailed review of the Serializing HTML fragments 
> section.)
> IE7 and Firefox serialize U+00A0 characters in data and attribute values 
> as "&nbsp;" when getting innerHTML. Safari and Opera don't. Should the 
> spec be aligned with IE7 and Firefox here?
> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%0D%0A%3Cscript%3Ewindow.onload%3Dfunction%28%29%7Bw%28document.body.innerHTML%29%7D%3C/script%3E%3Cp%20title%3D%22x%A0x%22%3Ex%A0x 

Why would it matter, as long as the serialization is valid?

Best regards, Julian
Received on Monday, 27 August 2007 16:41:09 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:25 UTC