| <style> | |
| @font-face { | |
| font-family: family1; | |
| src: local('Times'), local('Times New Roman'); | |
| /* font-variant property is not set. */ | |
| } | |
| @font-face { | |
| font-family: family1; | |
| src: local(Ahem), url(../../resources/Ahem.ttf); | |
| font-variant: normal; | |
| } | |
| 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> |