OLD | NEW |
1 <style> | 1 <style> |
2 @font-face { | 2 @font-face { |
3 font-family: family1; | 3 font-family: family1; |
4 src: local(Ahem), url(../../resources/Ahem.ttf); | 4 src: local(Ahem), |
5 font-variant: small-caps; | 5 url(../../resources/Ahem.ttf) format(truetype); |
6 } | 6 } |
7 p.test { | 7 p.test { |
8 font-family: family1; | 8 font-family: family1; |
9 font-variant: small-caps; | 9 font-variant: small-caps; |
10 } | 10 } |
11 </style> | 11 </style> |
12 <p> | 12 <p> |
13 Tests that if @font-face does not provide an explicit font-variant, normal is us
ed. | 13 Test for <a href="http://crbug.com/298970">bug 298970</a>. Verifies that small-c
aps synthesis works when @font-face has a svg source. |
14 </p> | 14 </p> |
15 <p> | 15 <p> |
16 The text below should be a series of black boxes. | 16 The text below should be a series of black boxes. |
17 </p> | 17 </p> |
18 <p class="test">failure</p> | 18 <p class="test">failure</p> |
OLD | NEW |