W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] [html5] bogus comment state

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Thu, 05 Jan 2006 12:00:13 +0100
Message-ID: <20060105120013.fq1690pu6hus40c8@webmail.annevankesteren.nl>
I haven't had time to investigate it fully (like inspecting the real DOM in the
three browsers I was testing on). It seems that Internet Explorer presevers the
nodes in some way (when looking at the innerHTML). It shows like a processing
instruction though, not a comment. Firefox simply drops all processing
instructions (or bogus comments) and you can not retrieve them in any way.
Opera stores them in some quirky way. When looking at the innerHTML of the page
I get things like: |<? target="test" content=""/>?>| for a processing
instruction which looked like: |<? test>|. We'll fix that sometime when it gets
more important and when it is clear what we're supposed to do.

(Personally I can appreciate the approach Firefox took although that leaves not
much room for using them sometime in the future...)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Thursday, 5 January 2006 03:00:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:25 UTC