[whatwg] text/html conformance checkers and comments

Ian Hickson ian at hixie.ch
Fri Feb 24 16:08:51 PST 2006


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



More information about the whatwg mailing list