spec link:20.8 Describing a font , Full version , Basic version , Tiny version

fonts-desc-03-t index fonts-desc-05-t

Test name:fonts-desc-04-t
SVG Image | PNG Image

This test demonstrates CSS font matching based on the font-style attribute.

The first line of text should produce a square followed by a triangle.

The second line should produce a square followed by a triangle. This tests that order of font definition does not effect correct matching.

The third line should produce a letter 'a' followed by two diamonds. Italic can match against oblique or italic, but all other values must match exactly. The letter 'a' will be an UA-dependent default font-family, it should be oblique, possiblely a transformation of a normal font.

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License.
To contribute to a W3C Test Suite, see the policies and contribution forms.