mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Add support for HTMLStyleElement.media (#35148)
Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
parent
fe5a075766
commit
8748071329
11 changed files with 1389 additions and 1364 deletions
|
@ -1,2 +0,0 @@
|
|||
[layer-media-toggle.html]
|
||||
expected: FAIL
|
|
@ -1,10 +0,0 @@
|
|||
[medialist-interfaces-001.html]
|
||||
[mediatest_medialist_serialize_order]
|
||||
expected: FAIL
|
||||
|
||||
[mediatest_medialist_serialize_comma]
|
||||
expected: FAIL
|
||||
|
||||
[mediatest_medialist_serialize_element]
|
||||
expected: FAIL
|
||||
|
File diff suppressed because it is too large
Load diff
|
@ -1,6 +0,0 @@
|
|||
[HTMLStyleElement.html]
|
||||
[media on HTMLStyleElement must enqueue an attributeChanged reaction when adding a new attribute]
|
||||
expected: FAIL
|
||||
|
||||
[media on HTMLStyleElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
|
@ -6202,15 +6202,9 @@
|
|||
[HTMLMetaElement interface: document.createElement("meta") must inherit property "scheme" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLStyleElement interface: attribute media]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLStyleElement interface: attribute blocking]
|
||||
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
|
||||
|
||||
|
|
114
tests/wpt/meta/html/dom/reflection-metadata.html.ini
vendored
114
tests/wpt/meta/html/dom/reflection-metadata.html.ini
vendored
|
@ -2249,120 +2249,6 @@
|
|||
[style.tabIndex: IDL set to -2147483648]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to ""]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: 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.media: setAttribute() to undefined]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to 7]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to "5%"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to "+100"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to ".5"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to true]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to false]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to object "[object Object\]"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to -Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to "\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to null]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to object "test-toString"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: setAttribute() to object "test-valueOf"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to ""]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: 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.media: IDL set to undefined]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to 7]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to "5%"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to "+100"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to ".5"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to true]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to false]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to object "[object Object\]"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to -Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to "\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to null]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to object "test-toString"]
|
||||
expected: FAIL
|
||||
|
||||
[style.media: IDL set to object "test-valueOf"]
|
||||
expected: FAIL
|
||||
|
||||
[style.nonce: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -4,6 +4,3 @@
|
|||
|
||||
[The LinkStyle interface's sheet attribute must return StyleSheet object; the disabled attribute must be same as the StyleSheet's disabled attribute]
|
||||
expected: FAIL
|
||||
|
||||
[The media must be the same as the value of the element's media content attribute, or the empty string if it is omitted]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[style_media.html]
|
||||
[The style information must be applied to the environment specified by the media attribute]
|
||||
expected: FAIL
|
|
@ -1,6 +0,0 @@
|
|||
[style_media_change.html]
|
||||
[change media value dynamically]
|
||||
expected: FAIL
|
||||
|
||||
[removing media attribute]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue