summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/font-face-style-auto-static-ref.html
blob: 375a6d4e3e8d101df194afea937066120912b942 (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-style: auto in @font-face</title>
<style>
    @font-face {
        font-family: "Lato";
        src: url('support/fonts/Lato-Medium.ttf') format('truetype');
        font-display: swap;
        font-style: normal;
    }
    .test {
        font-family: "Lato";
        font-size: 3em;
        font-style: oblique 10deg;
    }
</style>

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