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

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 " " 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.

  http://bugs.webkit.org/show_bug.cgi?id=11947

- WBR, Alexey Proskuryakov.

Received on Tuesday, 28 August 2007 04:32:59 UTC