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: Alexey Proskuryakov <ap@webkit.org>
Date: Tue, 28 Aug 2007 08:32:49 +0400
To: Julian Reschke <julian.reschke@gmx.de>, Simon Pieters <simonp@opera.com>
CC: public-html <public-html@w3.org>
Message-ID: <C2F98E31.2B49C%ap@webkit.org>

on 27.08.2007 20:40, Julian Reschke at julian.reschke@gmx.de wrote:

>> 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%3
>> E%0D%0A%3Cscript%3Ewindow.onload%3Dfunction%28%29%7Bw%28document.body.innerHT
>> ML%29%7D%3C/script%3E%3Cp%20title%3D%22x%A0x%22%3Ex%A0x
> Why would it matter, as long as the serialization is valid?

  This has caused a compatibility issue for WebKit at least once. In that
case, we got away with evangelizing, but we still track this as a bug that
needs to be fixed eventually.


- WBR, Alexey Proskuryakov.
Received on Tuesday, 28 August 2007 04:32:59 UTC

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