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

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

From: Simon Pieters <simonp@opera.com>
Date: Mon, 27 Aug 2007 18:05:38 +0200
To: public-html <public-html@w3.org>
Message-ID: <op.txp6zotvidj3kv@hp-a0a83fcd39d2.palace.opera.no>

(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

-- 
Simon Pieters
Opera Software
Received on Monday, 27 August 2007 16:05:50 GMT

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