Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/fonts/fonts-013.xht - WPT Dashboard Interop Dashboard
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Test: font and fallbacks</title>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="match" href="fonts-013-ref.xht" />
<meta name="flags" content="ahem"/>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css">
p { color: navy; }
.a span.test { font: 4em "Ahem", "Times New Roman"; }
.a span.control { font: 4em "Times New Roman"; }
.b span.test { font: 4em "Ahem", "Arial"; }
.b span.control { font: 4em "Arial"; }
.c span.test { font: 4em "Ahem", "Courier New"; }
.c span.control { font: 4em "Courier New"; }
</style>
</head>
<body>
<div>In each of the three lines below, the two words should look identical.</div>
<p class="a">
<span class="test">Ţęşţ</span>
—
<span class="control">Ţęşţ</span>
</p>
<p class="b">
<span class="test">Ţęşţ</span>
—
<span class="control">Ţęşţ</span>
</p>
<p class="c">
<span class="test">Ţęşţ</span>
—
<span class="control">Ţęşţ</span>
</p>
</body>
</html>