OLD | NEW |
1 <style> | 1 <style> |
2 /* This font contains a line glyph(U+0606) and a square glyph(U+06E1), and | 2 /* This font contains a line glyph(U+0606) and a square glyph(U+06E1), and |
3 * has a 'mark' feature that locates the square glyph above the line glyph. | 3 * has a 'mark' feature that locates the square glyph above the line glyph. |
4 * This font was created by using FontForge from scratch. | 4 * This font was created by using FontForge from scratch. |
5 */ | 5 */ |
6 @font-face { | 6 @font-face { |
7 font-family: test; | 7 font-family: test; |
8 src: url(resources/font-for-arabic-offset-test.ttf); | 8 src: url(resources/font-for-arabic-offset-test.ttf); |
9 } | 9 } |
10 div { | 10 div { |
11 font-family: test; | 11 font-family: test; |
12 font-size: 48pt; | 12 font-size: 48pt; |
13 } | 13 } |
14 </style> | 14 </style> |
15 <p>The square glyph should be located above the line glyph.</p> | 15 <p>The square glyph should be located above the line glyph.</p> |
16 <!-- Use arabic code points to make WebKit use ComplexTextController --> | 16 <!-- Use arabic code points to make WebKit use ComplexTextController --> |
17 <div>؆ۡ</div> | 17 <div>؆ۡ</div> |
18 <script> | 18 <script> |
19 if (window.testRunner) { | 19 if (window.testRunner) { |
20 testRunner.waitUntilDone(); | 20 testRunner.waitUntilDone(); |
21 setTimeout(function() { testRunner.notifyDone(); }, 100); | 21 setTimeout(function() { testRunner.notifyDone(); }, 100); |
22 } | 22 } |
23 </script> | 23 </script> |
OLD | NEW |