W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

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

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 17 Jan 2006 18:30:55 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0601171827420.9516@dhalsim.dreamhost.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:25 UTC