Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<title>CSS Fonts: font-style: italic; with italic font face without explicit font style</title>
<meta charset="utf-8" />
<style type="text/css">
@font-face {
font-family: "csstest-italic";
src: local("CSSTest Basic Italic");
}
div { font-size: 36px; }
span#verify { font-family: "CSSTest Verify"; }
div.test {
font-family: "csstest-italic";
}
</style>
</head>
<body>
<div><a href="http://www.w3.org/Style/CSS/Test/Fonts/">Test fonts</a> must be installed for this test: <span id="verify">FAIL</span></div>
<p>Test passes if the second line is more italic than the first:</p>
<div class="test">Filler text</div>
<div class="test">Filler text</div>
</body>
</html>