summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/variations/font-slant-2-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-fonts/variations/font-slant-2-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-fonts/variations/font-slant-2-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-fonts/variations/font-slant-2-ref.html b/testing/web-platform/tests/css/css-fonts/variations/font-slant-2-ref.html
new file mode 100644
index 0000000000..4f109aa219
--- /dev/null
+++ b/testing/web-platform/tests/css/css-fonts/variations/font-slant-2-ref.html
@@ -0,0 +1,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>