W3C home > Mailing lists > Public > public-css-testsuite@w3.org > April 2009

Re: wrong test case

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 20 Apr 2009 17:31:00 -0700
To: Gabriele Romanato <gabriele.romanato@gmail.com>
Cc: public-css-testsuite@w3.org
Message-ID: <20090421003100.GA13108@pickering.dbaron.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:51:58 GMT