summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/font-synthesis-08-ref.html
blob: 39cd4558d98b1fcdbc78968dff477c44d7f0fa94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8"/>
<title>CSS Test: font-synthesis style and weight</title>
<style>
    @font-face {
        font-family: "lato";
        src: url(support/fonts/Lato-Medium.ttf);
    }
    .test {
        font-family: "lato";
        font-size: 3em;
    }
    .auto {
        font-style: italic;
        font-weight: bold;
    }
    .weight {
        font-weight: bold;
    }
    .style {
        font-style: italic;
    }
</style>

<section class="test">
    <p class="auto">Filler text</p>
    <p class>Filler text</p>
    <p class="weight">Filler text</p>
    <p class="style">Filler text</p>
</section>