W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2007

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

From: Simon Pieters <zcorpan@gmail.com>
Date: Sun, 29 Jul 2007 17:23:42 +0200
Message-ID: <op.tv8fps137a8kvn@hp-a0a83fcd39d2>
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
Received on Sunday, 29 July 2007 08:23:42 UTC

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