CSS2 Test Suite: 6.2.1 inherit

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

The style declarations contained within this page:

P.cl1 {color: red;}
A:link {color: inherit; text-decoration: underline; font-weight: bold;}


[cl1] Although this paragraph has a class of 'cl1', it also has an inline STYLE of 'color: inherit', which should cause it to inherit its color from the BODY element. Thus, the color should be black.

This unclassed paragraph contains a number of anchors which have been underlined and boldfaced, but whose color inherits from the paragraph itself (thus making them black).


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