fonts-014.xht (1623B)
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/007.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 <style type="text/css"> 13 p { color: navy; } 14 .a span.test { font: 4em "Missing Font", "Times New Roman"; } 15 .a span.control { font: 4em "Times New Roman"; } 16 .b span.test { font: 4em "Missing Font", "Arial"; } 17 .b span.control { font: 4em "Arial"; } 18 .c span.test { font: 4em "Missing Font", "Courier New"; } 19 .c span.control { font: 4em "Courier New"; } 20 </style> 21 </head> 22 <body> 23 <div>In each of the three lines below, the two words should look identical.</div> 24 <p class="a"> 25 <span class="test">Ţęşţ</span> 26 — 27 <span class="control">Ţęşţ</span> 28 </p> 29 <p class="b"> 30 <span class="test">Ţęşţ</span> 31 — 32 <span class="control">Ţęşţ</span> 33 </p> 34 <p class="c"> 35 <span class="test">Ţęşţ</span> 36 — 37 <span class="control">Ţęşţ</span> 38 </p> 39 </body> 40 </html>