summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/font-face-variant.html
blob: 3932466fd4d252061ea9ddbc9635500167cd82cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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>