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

Ian Hickson ian at hixie.ch
Wed Feb 13 21:18:58 PST 2008


On Sun, 29 Jul 2007, Simon Pieters wrote:
> 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:
> > 
> >     <!-- "-->" -->
> >     <% "%>" %>

I looked into these, and frankly, I'm reluctant to add them to the spec. I 
haven't seen a huge number of sites that depend on these, and the other 
browsers don't seem to particularly require it.

Unless someone has a good reason to do otherwise, I say we skip this.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list