[whatwg] text/html conformance checkers and comments

On Sat, 23 Jul 2005, Henri Sivonen wrote:
>
> What kinds of comments should a text/html HTML5 conformance checker allow?
> 
> <!-->

Unterminated comment ">". Parse error.

> <!---->

Empty comment "".

> <!-- -->

Comment " ".

> <!-- foo -->

Comment " foo ".

> <!-- foo ---- bar -->

Comment " foo ---- bar ". Parse error.

> <!-- foo -- -- bar -->

Comment " foo -- -- bar ". Parse error.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 24 February 2006 16:08:51 UTC