summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/discrete-no-interpolation.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/tests/css/css-fonts/discrete-no-interpolation.html
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-fonts/discrete-no-interpolation.html')
-rw-r--r--testing/web-platform/tests/css/css-fonts/discrete-no-interpolation.html94
1 files changed, 94 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-fonts/discrete-no-interpolation.html b/testing/web-platform/tests/css/css-fonts/discrete-no-interpolation.html
new file mode 100644
index 0000000000..1888670594
--- /dev/null
+++ b/testing/web-platform/tests/css/css-fonts/discrete-no-interpolation.html
@@ -0,0 +1,94 @@
+<!DOCTYPE html>
+<meta name=timeout content=long>
+<link rel=author href="mailto:jarhar@chromium.org">
+<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/interpolation-testcommon.js"></script>
+
+<body>
+<script>
+ test_no_interpolation({
+ property: 'font-family',
+ from: 'initial',
+ to: 'c'
+ });
+
+ test_no_interpolation({
+ property: 'font-kerning',
+ from: 'initial',
+ to: 'none'
+ });
+
+ test_no_interpolation({
+ property: 'font-optical-sizing',
+ from: 'initial',
+ to: 'none'
+ });
+
+ test_no_interpolation({
+ property: 'font-palette',
+ from: 'initial',
+ to: 'dark'
+ });
+
+ test_no_interpolation({
+ property: 'font-feature-settings',
+ from: 'initial',
+ to: '"smcp"'
+ });
+
+ test_no_interpolation({
+ property: 'font-synthesis-small-caps',
+ from: 'initial',
+ to: 'none'
+ });
+
+ test_no_interpolation({
+ property: 'font-synthesis-style',
+ from: 'initial',
+ to: 'none'
+ });
+
+ test_no_interpolation({
+ property: 'font-synthesis-weight',
+ from: 'initial',
+ to: 'none'
+ });
+
+ test_no_interpolation({
+ property: 'font-variant-alternates',
+ from: 'initial',
+ to: 'historical-forms'
+ });
+
+ test_no_interpolation({
+ property: 'font-variant-caps',
+ from: 'initial',
+ to: 'small-caps'
+ });
+
+ test_no_interpolation({
+ property: 'font-variant-east-asian',
+ from: 'initial',
+ to: 'full-width'
+ });
+
+ test_no_interpolation({
+ property: 'font-variant-ligatures',
+ from: 'common-ligatures',
+ to: 'no-common-ligatures'
+ });
+
+ test_no_interpolation({
+ property: 'font-variant-numeric',
+ from: 'initial',
+ to: 'tabular-nums'
+ });
+
+ test_no_interpolation({
+ property: 'font-variant-position',
+ from: 'initial',
+ to: 'super'
+ });
+</script>