CSS2 Test Suite: 15.2.3 font-variant

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

The style declarations contained within this page:

.cl1 {font-variant: small-caps;}
.cl2 {font-variant: normal;}
div.parent {font-variant: normal;}
div.inh1 {font-variant: small-caps;}


[cl1] This Paragraph should be in Small Caps.

[cl1] This Paragraph should be in Small Caps, but the Last three Words in the Sentence [cl2] should be Normal.


[div.parent] This DIV has been set with parental styles. The inline elements within this DIV are enclosed in square brackets in order to more easily discern their placement.
[div.inh1] This DIV should use a normal (non-small-caps) font for its display, as it has a style attribute set to inherit the font-variant value. [/div.inh1]
This is the end of the parent DIV. [/div.parent]

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