fonts-013.xht (1666B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> 3 <head> 4 <title>CSS Test: font and fallbacks</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/fonts/006.html" type="text/html"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#algorithm" /> 8 <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-matching-algorithm" /> 9 <link rel="match" href="fonts-013-ref.xht" /> 10 11 <meta name="flags" content="ahem"/> 12 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 13 <style type="text/css"> 14 p { color: navy; } 15 .a span.test { font: 4em "Ahem", "Times New Roman"; } 16 .a span.control { font: 4em "Times New Roman"; } 17 .b span.test { font: 4em "Ahem", "Arial"; } 18 .b span.control { font: 4em "Arial"; } 19 .c span.test { font: 4em "Ahem", "Courier New"; } 20 .c span.control { font: 4em "Courier New"; } 21 </style> 22 </head> 23 <body> 24 <div>In each of the three lines below, the two words should look identical.</div> 25 <p class="a"> 26 <span class="test">Ţęşţ</span> 27 — 28 <span class="control">Ţęşţ</span> 29 </p> 30 <p class="b"> 31 <span class="test">Ţęşţ</span> 32 — 33 <span class="control">Ţęşţ</span> 34 </p> 35 <p class="c"> 36 <span class="test">Ţęşţ</span> 37 — 38 <span class="control">Ţęşţ</span> 39 </p> 40 </body> 41 </html>