summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/font-face-small-caps-with-svg-source.html
blob: d0a5fbe35e6698fcd57aa6cdb9870db1e3cc352a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<style>
    @font-face {
        font-family: family1;
        src: local(Ahem),
             url(../../resources/Ahem.ttf) format(truetype),
             url(../../resources/nonexistent.svg) format(svg);
    }
    p.test {
        font-family: family1;
        font-variant: small-caps;
    }
</style>
<p>
Test for <a href="http://crbug.com/298970">bug 298970</a>. Verifies that small-caps synthesis works when @font-face has a svg source.
</p>
<p>
The text below should be a series of black boxes.
</p>
<p class="test">failure</p>