summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/variations/font-slant-2-ref.html
blob: 4f109aa21927327fcb17e7dfe86576a3352142d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<meta charset=utf-8>
<title>CSS reference file: mapping of font-style:oblique to opentype 'slnt' axis</title>
<style>
@font-face {
  font-family: test;
  src: url(resources/Inter.var.subset.ttf);
}
.test {
  font: 32px/1.5 test;
}
</style>
<body>
<p>Test passes if none of the following lines are displayed with a slanted font.</p>
<div class="test">slant</div>
<div class="test">slant</div>
<div class="test">slant</div>
<div class="test">slant</div>