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

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