[whatwg] DOCTYPE name state

Ian Hickson ian at hixie.ch
Tue Jan 10 09:43:53 PST 2006


On Tue, 10 Jan 2006, Simon Pieters wrote:
> 
> In the DOCTYPE name state[1], Anything else, the spec currently says:
> 
> > If the name of the DOCTYPE token is exactly the four letters "HTML", 
> > or exactly the four letters "html", then mark the token as being 
> > correct.
> 
> I think that ["H"|"h","T"|"t","M"|"m","L"|"l"] should be correct. I 
> browsers I'm aware of that do doctype switching will use their standards 
> mode for all case combinations.
> 
> [1] http://www.whatwg.org/specs/web-apps/current-work/#doctype0

Fair enough.

-- 
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