aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/html
diff options
context:
space:
mode:
authorwebbeef <me@webbeef.org>2025-01-20 18:21:16 -0800
committerGitHub <noreply@github.com>2025-01-21 02:21:16 +0000
commite43baed585a4a2b1ffa74df9da7f126cf4309e2a (patch)
tree6073c1539183a201e8aed229c306cd0cc86d1778 /tests/wpt/meta/html
parent47058816926d77a01151974cc793a4f2a7bda239 (diff)
downloadservo-e43baed585a4a2b1ffa74df9da7f126cf4309e2a.tar.gz
servo-e43baed585a4a2b1ffa74df9da7f126cf4309e2a.zip
Add support for HTMLStyleElement.type (#35038)
Signed-off-by: webbeef <me@webbeef.org>
Diffstat (limited to 'tests/wpt/meta/html')
-rw-r--r--tests/wpt/meta/html/dom/idlharness.https.html.ini6
-rw-r--r--tests/wpt/meta/html/dom/reflection-metadata.html.ini114
-rw-r--r--tests/wpt/meta/html/semantics/document-metadata/the-style-element/style_type_change.html.ini9
-rw-r--r--tests/wpt/meta/html/semantics/document-metadata/the-style-element/style_type_html.html.ini6
-rw-r--r--tests/wpt/meta/html/semantics/document-metadata/the-style-element/update-style-block-ascii-case-insensitive.html.ini2
5 files changed, 0 insertions, 137 deletions
diff --git a/tests/wpt/meta/html/dom/idlharness.https.html.ini b/tests/wpt/meta/html/dom/idlharness.https.html.ini
index fa346c7f862..7cc0cc110f4 100644
--- a/tests/wpt/meta/html/dom/idlharness.https.html.ini
+++ b/tests/wpt/meta/html/dom/idlharness.https.html.ini
@@ -6208,18 +6208,12 @@
[HTMLStyleElement interface: attribute blocking]
expected: FAIL
- [HTMLStyleElement interface: attribute type]
- expected: FAIL
-
[HTMLStyleElement interface: document.createElement("style") must inherit property "media" with the proper type]
expected: FAIL
[HTMLStyleElement interface: document.createElement("style") must inherit property "blocking" with the proper type]
expected: FAIL
- [HTMLStyleElement interface: document.createElement("style") must inherit property "type" with the proper type]
- expected: FAIL
-
[HTMLBodyElement interface: attribute link]
expected: FAIL
diff --git a/tests/wpt/meta/html/dom/reflection-metadata.html.ini b/tests/wpt/meta/html/dom/reflection-metadata.html.ini
index 0c49620b2dd..db0682f9c87 100644
--- a/tests/wpt/meta/html/dom/reflection-metadata.html.ini
+++ b/tests/wpt/meta/html/dom/reflection-metadata.html.ini
@@ -2477,120 +2477,6 @@
[style.nonce: IDL set to object "test-valueOf"]
expected: FAIL
- [style.type: typeof IDL attribute]
- expected: FAIL
-
- [style.type: IDL get with DOM attribute unset]
- expected: FAIL
-
- [style.type: setAttribute() to ""]
- expected: FAIL
-
- [style.type: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo "]
- expected: FAIL
-
- [style.type: setAttribute() to undefined]
- expected: FAIL
-
- [style.type: setAttribute() to 7]
- expected: FAIL
-
- [style.type: setAttribute() to 1.5]
- expected: FAIL
-
- [style.type: setAttribute() to "5%"]
- expected: FAIL
-
- [style.type: setAttribute() to "+100"]
- expected: FAIL
-
- [style.type: setAttribute() to ".5"]
- expected: FAIL
-
- [style.type: setAttribute() to true]
- expected: FAIL
-
- [style.type: setAttribute() to false]
- expected: FAIL
-
- [style.type: setAttribute() to object "[object Object\]"]
- expected: FAIL
-
- [style.type: setAttribute() to NaN]
- expected: FAIL
-
- [style.type: setAttribute() to Infinity]
- expected: FAIL
-
- [style.type: setAttribute() to -Infinity]
- expected: FAIL
-
- [style.type: setAttribute() to "\\0"]
- expected: FAIL
-
- [style.type: setAttribute() to null]
- expected: FAIL
-
- [style.type: setAttribute() to object "test-toString"]
- expected: FAIL
-
- [style.type: setAttribute() to object "test-valueOf"]
- expected: FAIL
-
- [style.type: IDL set to ""]
- expected: FAIL
-
- [style.type: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo "]
- expected: FAIL
-
- [style.type: IDL set to undefined]
- expected: FAIL
-
- [style.type: IDL set to 7]
- expected: FAIL
-
- [style.type: IDL set to 1.5]
- expected: FAIL
-
- [style.type: IDL set to "5%"]
- expected: FAIL
-
- [style.type: IDL set to "+100"]
- expected: FAIL
-
- [style.type: IDL set to ".5"]
- expected: FAIL
-
- [style.type: IDL set to true]
- expected: FAIL
-
- [style.type: IDL set to false]
- expected: FAIL
-
- [style.type: IDL set to object "[object Object\]"]
- expected: FAIL
-
- [style.type: IDL set to NaN]
- expected: FAIL
-
- [style.type: IDL set to Infinity]
- expected: FAIL
-
- [style.type: IDL set to -Infinity]
- expected: FAIL
-
- [style.type: IDL set to "\\0"]
- expected: FAIL
-
- [style.type: IDL set to null]
- expected: FAIL
-
- [style.type: IDL set to object "test-toString"]
- expected: FAIL
-
- [style.type: IDL set to object "test-valueOf"]
- expected: FAIL
-
[head.tabIndex: setAttribute() to "7\\v"]
expected: FAIL
diff --git a/tests/wpt/meta/html/semantics/document-metadata/the-style-element/style_type_change.html.ini b/tests/wpt/meta/html/semantics/document-metadata/the-style-element/style_type_change.html.ini
deleted file mode 100644
index 112a376c55c..00000000000
--- a/tests/wpt/meta/html/semantics/document-metadata/the-style-element/style_type_change.html.ini
+++ /dev/null
@@ -1,9 +0,0 @@
-[style_type_change.html]
- [Check initial styleSheets length type]
- expected: FAIL
-
- [Change type from invalid type to valid type]
- expected: FAIL
-
- [Change type from valid type to invalid type]
- expected: FAIL
diff --git a/tests/wpt/meta/html/semantics/document-metadata/the-style-element/style_type_html.html.ini b/tests/wpt/meta/html/semantics/document-metadata/the-style-element/style_type_html.html.ini
deleted file mode 100644
index e90502f3cf5..00000000000
--- a/tests/wpt/meta/html/semantics/document-metadata/the-style-element/style_type_html.html.ini
+++ /dev/null
@@ -1,6 +0,0 @@
-[style_type_html.html]
- [With a whitespace-surrounded type attribute, the style should not apply]
- expected: FAIL
-
- [With a charset parameter in the type attribute, the style should not apply]
- expected: FAIL
diff --git a/tests/wpt/meta/html/semantics/document-metadata/the-style-element/update-style-block-ascii-case-insensitive.html.ini b/tests/wpt/meta/html/semantics/document-metadata/the-style-element/update-style-block-ascii-case-insensitive.html.ini
deleted file mode 100644
index 8103ea2a307..00000000000
--- a/tests/wpt/meta/html/semantics/document-metadata/the-style-element/update-style-block-ascii-case-insensitive.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[update-style-block-ascii-case-insensitive.html]
- expected: FAIL