OLD | NEW |
1 <style> | 1 <style> |
2 @font-face { | 2 .ahem { |
3 font-family: ivsfont; | 3 font:20px/1 Ahem; |
4 src: url(resources/AhemIVS.ttf); | |
5 } | |
6 .ivs { | |
7 font-family: ivsfont; | |
8 } | 4 } |
9 </style> | 5 </style> |
10 <p> | 6 <p> |
11 This page ensures that WebKit can render unicode variation selector correctly.
On platforms which support UVSes, the glyph of U+0061 should be a 0.2em high, 1e
m wide rectangle. On platforms which don't support UVSes, it should be a square.
In addition, any glyphs (including the last resort glyph) should not appear af
ter the glyph on all platforms. | 7 This page ensures that WebKit can render unicode variation selector correctly.
On platforms which support UVSes, the glyph of U+0061 should be a 0.2em high, 1e
m wide rectangle. On platforms which don't support UVSes, it should be a square.
In addition, any glyphs (including the last resort glyph) should not appear af
ter the glyph on all platforms. |
12 </p> | 8 </p> |
13 <div> | 9 <div> |
14 Glyph for code point U+0061 without UVS: | 10 Without UVS: |
15 <span style="font-family: ivsfont;">a</span> | 11 <span class="ahem">X</span> |
| 12 should look like <span class="ahem">X</span> |
16 </div> | 13 </div> |
17 <div> | 14 <div> |
18 Glyph for code point U+0061 with UVS: | 15 With UVS: |
19 <span style="font-family: ivsfont;" id='ivs-holder'>a󠄀</span> | 16 <span class="ahem">p</span> |
| 17 should look like <span class="ahem">p</span> |
20 </div> | 18 </div> |
| 19 <div> |
| 20 UVS not in the font should fallback to base: |
| 21 <span class="ahem">X</span> |
| 22 should look like <span class="ahem">X</span> |
| 23 </div> |
OLD | NEW |