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

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.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 17 January 2006 10:30:55 UTC