CSS2 Test Suite: 14.1 color

[index page] [section] [Previous] [Next] [Specification]

The style declarations contained within this page:

.cl1 {color: green;}.inh1 {color: red;}

This 'p' element has no styles assign to it, and serves as a reference point.

This 'p' element should be green.

[parent] This 'div' element has no explicitly assigned styles.
[inh1] This 'div' element should have the same text color as its parent, as it has a style attribute set to inherit the color value. If it is red, the 'inherit' test has been failed. [/inh1]
This is the end of the parent 'div' element.

[index page] [section] [Previous] [Next] [Specification]