OLD | NEW |
---|---|
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <style> | 2 <style> |
3 @font-face { | 3 @font-face { |
4 font-family:Ahem; | |
drott
2015/06/23 12:45:51
In a somewhat nitpicky attempt to keep this patch
| |
5 src:url(../../resources/Ahem.otf); | |
6 } | |
7 @font-face { | |
4 font-family:cssot; | 8 font-family:cssot; |
5 src:url(../../third_party/adobe-fonts/CSSFWOrientationTest.otf); | 9 src:url(../../third_party/adobe-fonts/CSSFWOrientationTest.otf); |
6 } | 10 } |
7 .container { | 11 .container { |
8 display: inline-block; | 12 display: inline-block; |
9 } | 13 } |
10 #complex { | 14 #complex { |
11 text-rendering: optimizelegibility | 15 text-rendering: optimizelegibility |
12 } | 16 } |
13 dd { | 17 dd { |
14 border:black solid thin; | 18 border:black solid thin; |
15 font-family:Ahem, cssot; | 19 font-family:Ahem, cssot; |
16 text-align:justify; | 20 text-align:justify; |
21 line-height: 17px; | |
17 } | 22 } |
18 </style> | 23 </style> |
19 <div id="simple" class="container"> | 24 <div id="simple" class="container"> |
20 <h2>Simple</h2> | 25 <h2>Simple</h2> |
21 <dl> | 26 <dl> |
22 <dt>Ideographic, Kana, CJK symbols</dt> | 27 <dt>Ideographic, Kana, CJK symbols</dt> |
23 <dd style="width:9em;">国国あ!国国W WWWWWWW</dd> | 28 <dd style="width:9em;">国国あ!国国W WWWWWWW</dd> |
24 <dd style="width:9em;">国国あ!国WWWWWWWWW</dd> | 29 <dd style="width:9em;">国国あ!国WWWWWWWWW</dd> |
25 <dd style="width:9em;">国国あ!国 WWWWWWWWW</dd> | 30 <dd style="width:9em;">国国あ!国 WWWWWWWWW</dd> |
26 <dd style="width:9em;">国国あ!W WWWWWWWWW</dd> | 31 <dd style="width:9em;">国国あ!W WWWWWWWWW</dd> |
(...skipping 19 matching lines...) Expand all Loading... | |
46 </div> | 51 </div> |
47 <script> | 52 <script> |
48 document.body.offsetLeft; // Kick off loading @font-face | 53 document.body.offsetLeft; // Kick off loading @font-face |
49 if (window.testRunner) { | 54 if (window.testRunner) { |
50 testRunner.waitUntilDone(); | 55 testRunner.waitUntilDone(); |
51 document.body.onload = function () { testRunner.notifyDone(); }; | 56 document.body.onload = function () { testRunner.notifyDone(); }; |
52 } | 57 } |
53 var tests = document.getElementsByTagName('dl')[0]; | 58 var tests = document.getElementsByTagName('dl')[0]; |
54 document.getElementById('complex').appendChild(tests.cloneNode(true)); | 59 document.getElementById('complex').appendChild(tests.cloneNode(true)); |
55 </script> | 60 </script> |
OLD | NEW |