diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-fonts/variations/font-slant-1-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-fonts/variations/font-slant-1-ref.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-fonts/variations/font-slant-1-ref.html b/testing/web-platform/tests/css/css-fonts/variations/font-slant-1-ref.html new file mode 100644 index 0000000000..7b819bfa56 --- /dev/null +++ b/testing/web-platform/tests/css/css-fonts/variations/font-slant-1-ref.html @@ -0,0 +1,20 @@ +<!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> |