W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2006

Background color white in t0804-c5508-ipadn-b-01-f-a.xht

From: Bert Bos <bert@w3.org>
Date: Mon, 2 Oct 2006 14:46:25 +0200
To: public-css-testsuite@w3.org
Message-Id: <200610021446.25864.bert@w3.org>

It seems there is a bug in 
http://www.w3.org/Style/CSS/Test/CSS2.1/20041125/t0804-c5507-ipadn-r-04-b-ag.htm 
and 
http://www.w3.org/Style/CSS/Test/CSS2.1/20041125/t0804-c5508-ipadn-b-01-f-a.htm

Both seem to assume that the white parts of the text are invisible, but 
if you run the test in a browser that has a different background color 
than white, they aren't.

The first test says there should be a green bar, but, in fact, the bar 
is green and white. The second test says the two bars should be 
identical, but in fact, one of the two is longer than the other, 
because it has a white square attached to one end.

The fix to the latter might be to use a transparent image instead of a 
white one, but both can also be fixed by adding an explicit background, 
e.g.

    body {background: white; color: black}



Bert

PS. Credit for finding the bug goes to Cedric Kiss.

-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Monday, 2 October 2006 12:46:54 GMT

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