servo/tests/wpt/css-tests/css-fonts-3_dev/html/font-style-002.htm

23 lines
No EOL
996 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Font-style set to 'italic'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font-style">
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-styling">
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-style-prop">
<meta name="flags" content="ahem">
<meta name="assert" content="The 'font-style' property set to 'italic' correctly renders the characters as italic text.">
<style type="text/css">
div
{
font-style: italic;
font-family: Ahem;
}
</style>
</head>
<body>
<p>Test passes if there is a box below that appears to be slanted to one side.</p>
<div>X</div>
</body>
</html>