1
0
Fork 0
firefox/testing/web-platform/tests/css/css-fonts/variations/font-slant-1-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

20 lines
545 B
HTML

<!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;
font-style: oblique 10deg;
src: url(resources/Inter.var.subset.ttf);
}
.test {
font: 32px/1.5 test;
font-variation-settings: 'slnt' -10;
}
</style>
<body>
<p>Test passes if all the following lines are displayed with a 10-degree rightward slant.</p>
<div class="test">slant</div>
<div class="test">slant</div>
<div class="test">slant</div>
<div class="test">slant</div>