[whatwg] Bogus comment treated as a real comment in Mozilla

Ian Hickson ian at hixie.ch
Tue Jan 17 10:30:55 PST 2006


On Mon, 16 Jan 2006, Simon Pieters wrote:
>
> Consider the following snippet:
> 
>   </-->PASS<!-->FAIL<! -->
> 
> According to the spec there are two comments, first a bogus comment containing
> "--", then a real comment containing ">FAIL<! ". This is what Opera does.

It's also what Safari and MacIE do.


On Mon, 16 Jan 2006, Blake Kaplan wrote:
> 
> I agree with your interpretation and actually have a patch that fixes
> Mozilla's behavior on comments that start with '</'

You rock. :-)

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