mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Use "slot" attribute for slottable name (#35191)
* Implement Element::slot attribute Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Simplify slottable name update Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update WPT expectations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
c633ca1cde
commit
f6d1b30e97
9 changed files with 18 additions and 98 deletions
|
@ -1,6 +0,0 @@
|
|||
[Element.html]
|
||||
[slot on Element must enqueue an attributeChanged reaction when adding slot content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[slot on Element must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
3
tests/wpt/meta/dom/idlharness.window.js.ini
vendored
3
tests/wpt/meta/dom/idlharness.window.js.ini
vendored
|
@ -56,9 +56,6 @@
|
|||
[CharacterData interface: operation remove()]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: element must inherit property "slot" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController interface: new AbortController() must inherit property "signal" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -8,15 +8,6 @@
|
|||
[assignedNodes({"flattened":true}) must return the list of assigned nodes when none of the assigned nodes themselves are slots]
|
||||
expected: FAIL
|
||||
|
||||
[assignedNodes() must update when slot and name attributes are modified]
|
||||
expected: FAIL
|
||||
|
||||
[assignedNodes({"flattened":false}) must update when slot and name attributes are modified]
|
||||
expected: FAIL
|
||||
|
||||
[assignedNodes({"flattened":true}) must update when slot and name attributes are modified]
|
||||
expected: FAIL
|
||||
|
||||
[assignedNodes() must update when slot elements are inserted or removed]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[Slottable-mixin.html]
|
||||
[assignedSlot must return the assigned slot]
|
||||
expected: FAIL
|
|
@ -3,8 +3,5 @@
|
|||
[slotchange event: Append a child to a host.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[slotchange event: A slot is assigned to another slot.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[slotchange event: Child content is added to nested slots.]
|
||||
expected: TIMEOUT
|
||||
|
|
3
tests/wpt/meta/shadow-dom/slots.html.ini
vendored
3
tests/wpt/meta/shadow-dom/slots.html.ini
vendored
|
@ -31,3 +31,6 @@
|
|||
|
||||
[Slots: Mutation: Change slot slot= attribute.]
|
||||
expected: FAIL
|
||||
|
||||
[Slots: Mutation: Remove a slot.]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue