blob: 5dc30fb56c7535a9a677c8e5bd9ae15cbe83555b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: Baselines and Fallback</title>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/fonts/family/005.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop" />
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop"/>
<style type="text/css">
div { margin-bottom: 5em; }
p { font: 900 5em/0 serif; }
span.a { color: red; font-family: Terminal, Courier New; }
span.b { color: green; font-family: Courier New; }
span span { color: silver; }
</style>
</head>
<body>
<div>There should be a green ע character below (next to two different overlapped gray Xs).</div>
<p>
<span class="a">ע<span>X</span></span>
<br/>
<span class="b">ע<span>X</span></span>
</p>
</body>
</html>
|