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 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-fonts/discrete-no-interpolation.html
parentInitial commit. (diff)
downloadfirefox-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/discrete-no-interpolation.html')
-rw-r--r--testing/web-platform/tests/css/css-fonts/discrete-no-interpolation.html88
1 files changed, 88 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..327e463acc
--- /dev/null
+++ b/testing/web-platform/tests/css/css-fonts/discrete-no-interpolation.html
@@ -0,0 +1,88 @@
+<!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: 'serif',
+ to: 'monospace'
+ });
+
+ 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-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>