[whatwg] Comment Syntax and Parsing

Ian Hickson ian at hixie.ch
Tue Jan 24 16:09:32 PST 2006


On Wed, 25 Jan 2006, Lachlan Hunt wrote:
>
> Ian Hickson wrote:
> > On Wed, 25 Jan 2006, Lachlan Hunt wrote:
> > > I tested the following in the live dom viewer using Firefox 1.5.0.1 Win
> > > and Mac, Opera 8.5/Mac, Opera 9 Win and Mac, Safari 2.0.3, IE6, OmniWeb
> > > 5.1.2 and iCab 3.0.1.
> > > 
> > > <!DOCTYPE html>
> > > PA<!-- > FAIL -- >SS
> > 
> > This triggers SGML comment parsing mode (which you don't want to be testing)
> > in a number of browsers.
> 
> Why?  The closer we can define the behaviour to be compatible with existing
> standards mode behaviours, the better it will be for backwards compatibility?

This entire discussion started from the developers of all the browsers who 
implemented the SGML comment mode coming to me and telling me I was stupid 
for even suggesting that this is how comments should be parsed. The whole 
point of all this is to simplify comment parsing.

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