aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/css/css-fonts/variations
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2023-08-15 02:28:32 +0200
committerGitHub <noreply@github.com>2023-08-15 00:28:32 +0000
commit963104e5fc1f34cf77bb65991e83156cab6bf9d4 (patch)
tree86c5c55d62ae62f0b8aa5c172cd620c03c371737 /tests/wpt/meta/css/css-fonts/variations
parent78c70112405508354b6ed8461d4e1c81c933f721 (diff)
downloadservo-963104e5fc1f34cf77bb65991e83156cab6bf9d4.tar.gz
servo-963104e5fc1f34cf77bb65991e83156cab6bf9d4.zip
Run same tests for layout-2020 and layout-2013 (#30092)
Most tests were only being run for layout-2013, not for layout-2020. This wasn't great since layout-2020 is now the default. So this patch unifies the lists of included tests for both layouts. For layout-2013 this implies adding css/css-content/, css/css-logical/ and css/css-masking/clip/. For layout-2020 this implies adding several additional css tests, and also tests like dom/, js/, html/, etc.
Diffstat (limited to 'tests/wpt/meta/css/css-fonts/variations')
-rw-r--r--tests/wpt/meta/css/css-fonts/variations/font-descriptor-range-reversed.html.ini2
-rw-r--r--tests/wpt/meta/css/css-fonts/variations/font-parse-numeric-stretch-style-weight.html.ini156
-rw-r--r--tests/wpt/meta/css/css-fonts/variations/font-stretch.html.ini3
-rw-r--r--tests/wpt/meta/css/css-fonts/variations/font-variation-settings-inherit.html.ini9
-rw-r--r--tests/wpt/meta/css/css-fonts/variations/variable-box-font.html.ini2
-rw-r--r--tests/wpt/meta/css/css-fonts/variations/variable-gpos-m2b.html.ini2
-rw-r--r--tests/wpt/meta/css/css-fonts/variations/variable-gsub.html.ini2
-rw-r--r--tests/wpt/meta/css/css-fonts/variations/variable-opsz.html.ini2
8 files changed, 178 insertions, 0 deletions
diff --git a/tests/wpt/meta/css/css-fonts/variations/font-descriptor-range-reversed.html.ini b/tests/wpt/meta/css/css-fonts/variations/font-descriptor-range-reversed.html.ini
new file mode 100644
index 00000000000..e2dc2575bc6
--- /dev/null
+++ b/tests/wpt/meta/css/css-fonts/variations/font-descriptor-range-reversed.html.ini
@@ -0,0 +1,2 @@
+[font-descriptor-range-reversed.html]
+ expected: TIMEOUT
diff --git a/tests/wpt/meta/css/css-fonts/variations/font-parse-numeric-stretch-style-weight.html.ini b/tests/wpt/meta/css/css-fonts/variations/font-parse-numeric-stretch-style-weight.html.ini
new file mode 100644
index 00000000000..13ae17b2eb2
--- /dev/null
+++ b/tests/wpt/meta/css/css-fonts/variations/font-parse-numeric-stretch-style-weight.html.ini
@@ -0,0 +1,156 @@
+[font-parse-numeric-stretch-style-weight.html]
+ [Valid value 100 matches 100 for weight in @font-face.]
+ expected: FAIL
+
+ [Valid value 700 matches 700 for weight in @font-face.]
+ expected: FAIL
+
+ [Valid value 900 matches 900 for weight in @font-face.]
+ expected: FAIL
+
+ [Valid value bold matches bold for weight in @font-face.]
+ expected: FAIL
+
+ [Valid value normal matches normal for weight in @font-face.]
+ expected: FAIL
+
+ [Valid value 100 400 matches 100 400 for weight in @font-face.]
+ expected: FAIL
+
+ [Valid value 100 101.5 matches 100 101.5 for weight in @font-face.]
+ expected: FAIL
+
+ [Valid value 999.8 999.9 matches 999.8 999.9 for weight in @font-face.]
+ expected: FAIL
+
+ [Valid value 500 400 matches 500 400 for weight in @font-face.]
+ expected: FAIL
+
+ [Valid value 0% matches 0% for stretch in @font-face.]
+ expected: FAIL
+
+ [Valid value calc(0% - 10%) matches calc(-10%) for stretch in @font-face.]
+ expected: FAIL
+
+ [Valid value 100% matches 100% for stretch in @font-face.]
+ expected: FAIL
+
+ [Valid value 110% matches 110% for stretch in @font-face.]
+ expected: FAIL
+
+ [Valid value 111.5% matches 111.5% for stretch in @font-face.]
+ expected: FAIL
+
+ [Valid value 50% 200% matches 50% 200% for stretch in @font-face.]
+ expected: FAIL
+
+ [Valid value 0.1% 1% matches 0.1% 1% for stretch in @font-face.]
+ expected: FAIL
+
+ [Valid value 900% 901% matches 900% 901% for stretch in @font-face.]
+ expected: FAIL
+
+ [Valid value ultra-condensed matches ultra-condensed for stretch in @font-face.]
+ expected: FAIL
+
+ [Valid value ultra-expanded matches ultra-expanded for stretch in @font-face.]
+ expected: FAIL
+
+ [Valid value normal matches normal for style in @font-face.]
+ expected: FAIL
+
+ [Valid value italic matches italic for style in @font-face.]
+ expected: FAIL
+
+ [Valid value oblique matches oblique for style in @font-face.]
+ expected: FAIL
+
+ [Valid value oblique 10deg matches oblique 10deg for style in @font-face.]
+ expected: FAIL
+
+ [Valid value oblique 10deg 20deg matches oblique 10deg 20deg for style in @font-face.]
+ expected: FAIL
+
+ [Value 0 must not be accepted as weight in @font-face.]
+ expected: FAIL
+
+ [Value 0.9 must not be accepted as weight in @font-face.]
+ expected: FAIL
+
+ [Value -100 200 must not be accepted as weight in @font-face.]
+ expected: FAIL
+
+ [Value 100 -200 must not be accepted as weight in @font-face.]
+ expected: FAIL
+
+ [Value 100 1001 must not be accepted as weight in @font-face.]
+ expected: FAIL
+
+ [Value 1001 must not be accepted as weight in @font-face.]
+ expected: FAIL
+
+ [Value 1000.5 must not be accepted as weight in @font-face.]
+ expected: FAIL
+
+ [Value 100 200 300 must not be accepted as weight in @font-face.]
+ expected: FAIL
+
+ [Value a must not be accepted as weight in @font-face.]
+ expected: FAIL
+
+ [Value a b c must not be accepted as weight in @font-face.]
+ expected: FAIL
+
+ [Value -0.5% must not be accepted as stretch in @font-face.]
+ expected: FAIL
+
+ [Value -1% must not be accepted as stretch in @font-face.]
+ expected: FAIL
+
+ [Value 60% 70% 80% must not be accepted as stretch in @font-face.]
+ expected: FAIL
+
+ [Value a% must not be accepted as stretch in @font-face.]
+ expected: FAIL
+
+ [Value a b c must not be accepted as stretch in @font-face.]
+ expected: FAIL
+
+ [Value 0.1 must not be accepted as stretch in @font-face.]
+ expected: FAIL
+
+ [Value -60% 80% must not be accepted as stretch in @font-face.]
+ expected: FAIL
+
+ [Value ultra-expannnned must not be accepted as stretch in @font-face.]
+ expected: FAIL
+
+ [Value 50% 0 must not be accepted as stretch in @font-face.]
+ expected: FAIL
+
+ [Value oblique 100deg must not be accepted as style in @font-face.]
+ expected: FAIL
+
+ [Value oblique italic must not be accepted as style in @font-face.]
+ expected: FAIL
+
+ [Value oblique -91deg must not be accepted as style in @font-face.]
+ expected: FAIL
+
+ [Value oblique 0 must not be accepted as style in @font-face.]
+ expected: FAIL
+
+ [Value oblique 10 must not be accepted as style in @font-face.]
+ expected: FAIL
+
+ [Value iiitalic must not be accepted as style in @font-face.]
+ expected: FAIL
+
+ [Value 90deg must not be accepted as style in @font-face.]
+ expected: FAIL
+
+ [Value 11 must not be accepted as style in @font-face.]
+ expected: FAIL
+
+ [Value italic 90deg must not be accepted as style in @font-face.]
+ expected: FAIL
diff --git a/tests/wpt/meta/css/css-fonts/variations/font-stretch.html.ini b/tests/wpt/meta/css/css-fonts/variations/font-stretch.html.ini
new file mode 100644
index 00000000000..8c939b1ea62
--- /dev/null
+++ b/tests/wpt/meta/css/css-fonts/variations/font-stretch.html.ini
@@ -0,0 +1,3 @@
+[font-stretch.html]
+ [@getComputedStyle: 1e9% - huge legal percentage]
+ expected: FAIL
diff --git a/tests/wpt/meta/css/css-fonts/variations/font-variation-settings-inherit.html.ini b/tests/wpt/meta/css/css-fonts/variations/font-variation-settings-inherit.html.ini
new file mode 100644
index 00000000000..4231fb16399
--- /dev/null
+++ b/tests/wpt/meta/css/css-fonts/variations/font-variation-settings-inherit.html.ini
@@ -0,0 +1,9 @@
+[font-variation-settings-inherit.html]
+ [Test font-variation-settings for duplicates using 'yyyy' 1, 'yyyy' 2]
+ expected: FAIL
+
+ [Test font-variation-settings for child inheritance]
+ expected: FAIL
+
+ [Test font-variation-settings for child override]
+ expected: FAIL
diff --git a/tests/wpt/meta/css/css-fonts/variations/variable-box-font.html.ini b/tests/wpt/meta/css/css-fonts/variations/variable-box-font.html.ini
new file mode 100644
index 00000000000..0752f997a84
--- /dev/null
+++ b/tests/wpt/meta/css/css-fonts/variations/variable-box-font.html.ini
@@ -0,0 +1,2 @@
+[variable-box-font.html]
+ expected: TIMEOUT
diff --git a/tests/wpt/meta/css/css-fonts/variations/variable-gpos-m2b.html.ini b/tests/wpt/meta/css/css-fonts/variations/variable-gpos-m2b.html.ini
new file mode 100644
index 00000000000..25b5f4f981c
--- /dev/null
+++ b/tests/wpt/meta/css/css-fonts/variations/variable-gpos-m2b.html.ini
@@ -0,0 +1,2 @@
+[variable-gpos-m2b.html]
+ expected: TIMEOUT
diff --git a/tests/wpt/meta/css/css-fonts/variations/variable-gsub.html.ini b/tests/wpt/meta/css/css-fonts/variations/variable-gsub.html.ini
new file mode 100644
index 00000000000..fb47910bae1
--- /dev/null
+++ b/tests/wpt/meta/css/css-fonts/variations/variable-gsub.html.ini
@@ -0,0 +1,2 @@
+[variable-gsub.html]
+ expected: TIMEOUT
diff --git a/tests/wpt/meta/css/css-fonts/variations/variable-opsz.html.ini b/tests/wpt/meta/css/css-fonts/variations/variable-opsz.html.ini
new file mode 100644
index 00000000000..aa9674b79da
--- /dev/null
+++ b/tests/wpt/meta/css/css-fonts/variations/variable-opsz.html.ini
@@ -0,0 +1,2 @@
+[variable-opsz.html]
+ expected: TIMEOUT