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

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 UTC