mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement disabled
attribute for <link rel="stylesheet">
(#36446)
Adds support for both the content and the IDL attribute. Note this doesn't cover dynamic updates to `document.styleSheets` and the owner node of the sheet. Testing: Covered by WPT Fixes: #26739 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
e62aecb103
commit
2d40fb7fe2
9 changed files with 46 additions and 28 deletions
|
@ -1,4 +0,0 @@
|
|||
[HTMLLinkElement-disabled-003.html]
|
||||
[HTMLLinkElement.disabled's explicitly enabled state persists when disconnected and connected again]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[HTMLLinkElement-disabled-004.html]
|
||||
[HTMLLinkElement.disabled's explicitly enabled state doesn't persist on clones]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[HTMLLinkElement-disabled-007.html]
|
||||
[HTMLLinkElement.disabled setter sets the explicitly enabled state if toggled back and forth.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[HTMLLinkElement-disabled-alternate.html]
|
||||
expected: FAIL
|
|
@ -6052,9 +6052,6 @@
|
|||
[HTMLLinkElement interface: attribute blocking]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLinkElement interface: attribute disabled]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLinkElement interface: attribute fetchPriority]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6073,9 +6070,6 @@
|
|||
[HTMLLinkElement interface: document.createElement("link") must inherit property "blocking" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLinkElement interface: document.createElement("link") must inherit property "disabled" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLinkElement interface: document.createElement("link") must inherit property "fetchPriority" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[subresource-integrity.html]
|
||||
[Style: Same-origin with correct sha256 and sha512 hash, rel='alternate stylesheet' enabled]
|
||||
expected: FAIL
|
||||
|
||||
[Script: Same-origin with non-Base64 hash.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue