3 div { border:
1px solid; padding:
0 8px; margin:
8px
0; }
4 span.ahem { font-family: 'Ahem'; }
5 span.courier { font-family: 'Courier', 'Courier New'; }
13 src: url('../../resources/Ahem.ttf');
14 unicode-range: U+
0041;
23 src: url('../../resources/Ahem.ttf');
24 unicode-range: U+
004?;
33 src: url('../../resources/Ahem.ttf');
34 unicode-range: U+
0042-
0044;
43 src: url('../../resources/Ahem.ttf');
44 unicode-range: U+
0050-
0058;
48 src: local('Courier'), local('Courier New');
49 unicode-range: U+
004F-
0051;
54 src: local('Times'), local('Times New Roman');
58 src: url('../../resources/Ahem.ttf');
59 unicode-range: U+
0050-
0058;
63 src: local('Courier'), local('Courier New');
64 unicode-range: U+
0052-
0055;
69 src: local('Courier'), local('Courier New');
73 src: url('../../resources/Ahem.ttf');
74 unicode-range: U+
0027; /* missing glyph */
82 <body onload=
"finished()">
84 Each box should contain two identical lines
88 <p style=
"font-family: 'test1';">
89 ABCDEFGHIJKLMNOPQRSTUVWXYZ
92 <span class=
"ahem">A
</span>BCDEFGHIJKLMNOPQRSTUVWXYZ
97 <p style=
"font-family: 'test2';">
98 ABCDEFGHIJKLMNOPQRSTUVWXYZ
101 <span class=
"ahem">ABCDEFGHIJKLMNO
</span>PQRSTUVWXYZ
106 <p style=
"font-family: 'test3';">
107 ABCDEFGHIJKLMNOPQRSTUVWXYZ
110 A
<span class=
"ahem">BCD
</span>EFGHIJKLMNOPQRSTUVWXYZ
115 <p style=
"font-family: 'test4';">
116 ABCDEFGHIJKLMNOPQRSTUVWXYZ
119 ABCDEFGHIJKLMN
<span class=
"courier">OPQ
</span><span class=
"ahem">RSTUVWX
</span>YZ
124 <p style=
"font-family: 'test5';">
125 ABCDEFGHIJKLMNOPQRSTUVWXYZ
128 ABCDEFGHIJKLMNO
<span class=
"ahem">PQ
<span class=
"courier">RSTU
</span>VWX
</span>YZ
133 <p style=
"font-family: 'test6';">
137 <span class=
"courier">'''
</span>
143 if (window
.testRunner
)
144 testRunner
.notifyDone();
147 document
.body
.offsetTop
;
149 if (window
.testRunner
)
150 testRunner
.waitUntilDone();