W3C home > Mailing lists > Public > public-css-testsuite@w3.org > July 2005

Error in Test t040304-c64-uri-00-a-g

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sat, 02 Jul 2005 20:46:07 +1000
Message-ID: <42C6706F.70708@lachy.id.au>
To: public-css-testsuite@w3.org

Hi,
   I believe there is a mistake in these tests:
http://www.w3.org/Style/CSS/Test/CSS2.1/current/t040304-c64-uri-00-a-g.htm
http://www.w3.org/Style/CSS/Test/CSS2.1/current/t040304-c64-uri-00-a-g.xht

The two stylesheets being imported contain the errors.
http://www.w3.org/Style/CSS/Test/CSS2.1/current/support/css1test64a.css
http://www.w3.org/Style/CSS/Test/CSS2.1/current/support/css1test64b.css

css1test64a.css contains:
p.one {background: red url(support/swatch-red.png);color:white;}

It should have a green background, since the request for swatch-red.png 
should result in a 404 Not Found, unless the UA incorrectly resolves the 
path as being relative to the document location instead of the 
stylesheet.  It should be updated to:

p.one {background: green url(support/swatch-red.png);color:white;}

css1test64b.css should be updated in the same way.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Saturday, 2 July 2005 11:35:35 GMT

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