[whatwg] [html5] bogus comment state

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