diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-fonts/variations/variable-opsz-size-adjust-ref.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-fonts/variations/variable-opsz-size-adjust-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-fonts/variations/variable-opsz-size-adjust-ref.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-fonts/variations/variable-opsz-size-adjust-ref.html b/testing/web-platform/tests/css/css-fonts/variations/variable-opsz-size-adjust-ref.html new file mode 100644 index 0000000000..4e88cace35 --- /dev/null +++ b/testing/web-platform/tests/css/css-fonts/variations/variable-opsz-size-adjust-ref.html @@ -0,0 +1,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> |