Re: wrong test case

On Tuesday 2009-04-21 02:07 +0200, Gabriele Romanato wrote:
> i was just looking at the css testcase in w3c.org and when i see this  
> case 
> "http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/sgml-comments-000.htm 
> " SGML Comments", it says "This text should be green, not red." but i  
> checked with all the browser(FF,opera, IE) all browser renders as red  
> only. so what does this means?

It looks like this testcase was written as HTML and stuck into the
processor as XHTML.  The XHTML version:
http://www.w3.org/Style/CSS/Test/CSS2.1/current/xhtml1/sgml-comments-000.xht
is wrong too, since it needs a CDATA section.

Probably putting a CDATA section around the style sheet in the
source would fix both.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Tuesday, 21 April 2009 00:31:39 UTC