summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/variations/variable-opsz-size-adjust-ref.html
blob: 4e88cace350e32711fc06220c2d14dcbd3ab3339 (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 class="reftest-wait">
<meta charset="utf-8">
<style>
    @font-face {
    font-family: variabletest_box;
    src: url(resources/variabletest_box.ttf);
    }

    body {
    font-family: variabletest_box, sans-serif;
    font-optical-sizing: none;
    }

    div {
    line-height: 64px;
    }

</style>
<div style="font-size:   9px; font-variation-settings: 'opsz'    9;">B</div>
<div style="font-size:  18px; font-variation-settings: 'opsz'   18;">B</div>
<div style="font-size:  36px; font-variation-settings: 'opsz'   36;">B</div>
<div style="font-size:  72px; font-variation-settings: 'opsz'   72;">B</div>
<div style="font-size:  96px; font-variation-settings: 'opsz'   96;">B</div>
<div style="font-size:  36px; font-variation-settings: 'opsz'  128;">B</div>
<div style="font-size:  72px; font-variation-settings: 'opsz'   12;">B</div>
<script>
    document.fonts.ready.then(
        () => { document.documentElement.classList.remove("reftest-wait"); });
</script>
</html>