summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/discrete-no-interpolation.html
diff options
context:
space:
mode:
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>