font-family-015.xht (1061B)
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"> 3 <head> 4 <title>CSS Test: Baselines and Fallback</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/family/005.html" type="text/html"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop" /> 8 <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop"/> 9 <style type="text/css"> 10 div { margin-bottom: 5em; } 11 p { font: 900 5em/0 serif; } 12 span.a { color: red; font-family: Terminal, Courier New; } 13 span.b { color: green; font-family: Courier New; } 14 span span { color: silver; } 15 </style> 16 </head> 17 <body> 18 <div>There should be a green ע character below (next to two different overlapped gray Xs).</div> 19 <p> 20 <span class="a">ע<span>X</span></span> 21 <br/> 22 <span class="b">ע<span>X</span></span> 23 </p> 24 </body> 25 </html>