<style> | |
@font-face { | |
font-family: family1; | |
src: local(Ahem), url(../../resources/Ahem.ttf); | |
font-variant: small-caps; | |
} | |
p.test { | |
font-family: family1; | |
font-variant: small-caps; | |
} | |
</style> | |
<p> | |
Tests that if @font-face does not provide an explicit font-variant, normal is used. | |
</p> | |
<p> | |
The text below should be a series of black boxes. | |
</p> | |
<p class="test">failure</p> |