The style declarations contained within this page:
.cl1 {background-color: green;}
.cl2 {background-color: transparent;}
.parent {background-color: silver;}
.inh1 {background-color: red;}
[cl1] This 'p' element should have a green background that completely fills its content-area.
[cl2] This 'p' element should have a transparent background that completely fills its content-area; this will allow the background of any ancestor elements that encompass it to "shine through."
[cl1] This 'p' element contains a 'span' that has been given a class of 'cl2'. The transparent background of [cl2]the inline 'span' should allow the 'p' element's green background to "shine through."
background-color value. If the background is red, the 'inherit' test has been failed.