Potentially signal a slot change in Node::insert (#35221)

* Potentially signal a slot change in Node::insert

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:
Simon Wülker 2025-01-30 09:47:21 +01:00 committed by GitHub
parent 6de0331d7c
commit 1ad45a776a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 28 additions and 34 deletions

View file

@ -1,13 +1,4 @@
[HTMLSlotElement-interface.html]
[assignedNodes() must return the list of assigned nodes when none of the assigned nodes themselves are slots]
expected: FAIL
[assignedNodes({"flattened":false}) must return the list of assigned nodes when none of the assigned nodes themselves are slots]
expected: FAIL
[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 elements are inserted or removed]
expected: FAIL

View file

@ -1,10 +1,4 @@
[event-with-related-target.html]
[Firing an event at B1a with relatedNode at B1 with open mode shadow trees]
expected: FAIL
[Firing an event at B1a with relatedNode at B1 with closed mode shadow trees]
expected: FAIL
[Firing an event at B1a with relatedNode at B1b1 with open mode shadow trees]
expected: FAIL

View file

@ -1,3 +0,0 @@
[slotchange-customelements.html]
[slotchange must fire on initialization of custom elements with slotted children]
expected: FAIL

View file

@ -23,18 +23,6 @@
[slotchange event must fire on a named slot element insidea closed shadow root not in a document]
expected: FAIL
[slotchange event must not fire on a slot element inside an open shadow root in a document when another slot's assigned nodes change]
expected: FAIL
[slotchange event must not fire on a slot element inside a closed shadow root in a document when another slot's assigned nodes change]
expected: FAIL
[slotchange event must not fire on a slot element inside an open shadow root not in a document when another slot's assigned nodes change]
expected: FAIL
[slotchange event must not fire on a slot element inside a closed shadow root not in a document when another slot's assigned nodes change]
expected: FAIL
[slotchange event must fire on a slot element inside an open shadow root in a document even if the slot was removed immediately after the assigned nodes were mutated]
expected: FAIL

View file

@ -1,7 +1,4 @@
[slotchange.html]
expected: TIMEOUT
[slotchange event: Append a child to a host.]
expected: TIMEOUT
[slotchange event: Child content is added to nested slots.]
expected: TIMEOUT