[Whatwg] [whatwg] Parsing: Greater-than characters in doctype

Simon Pieters zcorpan at gmail.com
Sun Jul 29 08:23:42 PDT 2007


On Fri, 29 Jun 2007 11:56:57 +0200, Simon Pieters <zcorpan at gmail.com>  
wrote:

> IE seems to not emit the token for > that is in quotes anywhere for both  
> doctypes and bogus comments (or it treats doctypes as bogus comments):
>
>     <!doctype ">" >
>     <! ">" >
>     <? ">" >
>     </ ">" >

(BTW, IE actually treats the last one as an element.)

IE's behavior is weirder still, it seems...

    http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21%20%20%22%22%22%3E%22%3E
    http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21%20%20%22%22%20%22%3E%22%3E

> This does not apply to these:
>
>     <!-- "-->" -->
>     <% "%>" %>
>

-- 
Simon Pieters



More information about the whatwg mailing list