OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> |
| 3 <style> |
| 4 @font-face { |
| 5 font-family: variabletest_box; |
| 6 src: url(../../../http/tests/resources/variabletest_box.ttf); |
| 7 } |
| 8 |
| 9 body { |
| 10 font-family: variabletest_box, |
| 11 sans-serif; |
| 12 font-size: 200px; |
| 13 } |
| 14 |
| 15 .a_low { |
| 16 font-variation-settings: "upwd" 0; |
| 17 } |
| 18 |
| 19 .a_up { |
| 20 font-variation-settings: "upwd" 350; |
| 21 } |
| 22 </style> |
| 23 <!-- The variabletest_box font has an A glyph that looks like a lower half box, |
| 24 with deltas on the 'upwd' variation axis that allow shifting the box up. At |
| 25 350, the box is at the top. The font also has two glyphs for UPPER HALF BLOCK |
| 26 and LOWER HALF BLOCK, which look identical to the respective variations of A. |
| 27 --> |
| 28 A <span class="a_up">A</span> |
OLD | NEW |