background-color-applies-to-008

Hi,

I got interested in CSS and I started to write a CSS implementation today.
https://github.com/sanxiyn/csstty

background-color-applies-to-008 seems wrong to me. It says:

Test passes if the box below is black.

div { background-color: black; display: inline }
<div>Filler Text</div>

This seems to assume that initial value of color is black too. But according
to CSS21, initial value of color "depends on user agent". Indeed, for csstty,
initial value is gray on black background, and no black box appears.

-- 
Seo Sanghyeon

Received on Sunday, 16 October 2011 13:35:49 UTC