CSS2 Test Suite: 15.2.3 font-style
[index page] [section] [Previous] [Next] [Specification]
The style declarations contained within this page:
.cl1 {font-style: italic;}
.cl2 {font-style: oblique;}
.cl3, I {font-style: normal;}
div.parent {font-style: normal;}
div.inh1 {font-style: italic;}
div.inh2 {font-style: oblique;}
[cl1] The font in this paragraph should be in italics, but the last word of the sentence should be [cl3] normal.
[cl2] The font in this paragraph should be oblique.
[I] This italics element should be normal instead of italicized.
[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-italic) font for its display, as it has a style attribute set to inherit the font-style
value. [/div.inh1]
[div.inh2] This DIV should use a normal (non-oblique) font for its display, as it has a style attribute set to inherit the font-style
value. [/div.inh2]
This is the end of the parent DIV. [/div.parent]
[index page] [section] [Previous] [Next] [Specification]