summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/font-face-stretch-auto-static-ref.html
blob: 5b3c4477332a127234b43993af3a31658c439c72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8"/>
<title>CSS Test: Support for font-stretch:auto in @font-face</title>
<style>
    @font-face {
        font-family: "Lato";
        src: url('support/fonts/Lato-Medium.ttf') format('truetype');
        font-display: swap;
        font-stretch: normal;
    }
    .test {
        font-family: "Lato";
        font-size: 3em;
        font-stretch: 125%;
    }
</style>

<p class="test">text</p>