slotchange-event.html

FAILExpected20 of 32 subtests pass874 ms

Details

Test
/shadow-dom/slotchange-event.html
Harness
OK

Subtests

StatusSubtestMessage
PASSslotchange event must fire on a default slot element inside an open shadow root in a document
PASSslotchange event must fire on a default slot element inside a closed shadow root in a document
PASSslotchange event must fire on a default slot element inside an open shadow root not in a document
PASSslotchange event must fire on a default slot element inside a closed shadow root not in a document
PASSslotchange event must fire on a named slot element insidean open shadow root in a document
PASSslotchange event must fire on a named slot element insidea closed shadow root in a document
PASSslotchange event must fire on a named slot element insidean open shadow root not in a document
PASSslotchange event must fire on a named slot element insidea closed shadow root not in a document
PASSslotchange event must not fire on a slot element inside an open shadow root in a document when another slot's assigned nodes change
PASSslotchange event must not fire on a slot element inside a closed shadow root in a document when another slot's assigned nodes change
PASSslotchange event must not fire on a slot element inside an open shadow root not in a document when another slot's assigned nodes change
PASSslotchange event must not fire on a slot element inside a closed shadow root not in a document when another slot's assigned nodes change
PASSslotchange event must fire on a slot element when a shadow host has a slottable and the slot was inserted and must not fire when the shadow host was mutated after the slot was removed inside an open shadow root in a document
PASSslotchange event must fire on a slot element when a shadow host has a slottable and the slot was inserted and must not fire when the shadow host was mutated after the slot was removed inside a closed shadow root in a document
PASSslotchange event must fire on a slot element when a shadow host has a slottable and the slot was inserted and must not fire when the shadow host was mutated after the slot was removed inside an open shadow root not in a document
PASSslotchange event must fire on a slot element when a shadow host has a slottable and the slot was inserted and must not fire when the shadow host was mutated after the slot was removed inside a closed shadow root not in a document
FAILslotchange 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
assert_equals: slotchange must be fired on a slot element if the assigned nodes changed while the slot was present expected 1 but got 0
assert_equals: slotchange must be fired on a slot element if the assigned nodes changed while the slot was present expected 1 but got 0
FAILslotchange event must fire on a slot element inside a closed shadow root in a document even if the slot was removed immediately after the assigned nodes were mutated
assert_equals: slotchange must be fired on a slot element if the assigned nodes changed while the slot was present expected 1 but got 0
assert_equals: slotchange must be fired on a slot element if the assigned nodes changed while the slot was present expected 1 but got 0
FAILslotchange event must fire on a slot element inside an open shadow root not in a document even if the slot was removed immediately after the assigned nodes were mutated
assert_equals: slotchange must be fired on a slot element if the assigned nodes changed while the slot was present expected 1 but got 0
assert_equals: slotchange must be fired on a slot element if the assigned nodes changed while the slot was present expected 1 but got 0
FAILslotchange event must fire on a slot element inside a closed shadow root not in a document even if the slot was removed immediately after the assigned nodes were mutated
assert_equals: slotchange must be fired on a slot element if the assigned nodes changed while the slot was present expected 1 but got 0
assert_equals: slotchange must be fired on a slot element if the assigned nodes changed while the slot was present expected 1 but got 0
PASSslotchange event must fire on a slot element inside an open shadow root in a document when innerHTML modifies the children of the shadow host
PASSslotchange event must fire on a slot element inside a closed shadow root in a document when innerHTML modifies the children of the shadow host
PASSslotchange event must fire on a slot element inside an open shadow root not in a document when innerHTML modifies the children of the shadow host
PASSslotchange event must fire on a slot element inside a closed shadow root not in a document when innerHTML modifies the children of the shadow host
FAILslotchange event must fire on a slot element inside an open shadow root in a document when nested slots's contents change
assert_equals: slotchange event's target must be the inner slot element at 1st slotchange expected Element node <slot></slot> but got Element node <slot></slot>
assert_equals: slotchange event's target must be the inner slot element at 1st slotchange expected Element node <slot></slot> but got Element node <slot></slot>
FAILslotchange event must fire on a slot element inside a closed shadow root in a document when nested slots's contents change
assert_equals: slotchange event's target must be the inner slot element at 1st slotchange expected Element node <slot></slot> but got Element node <slot></slot>
assert_equals: slotchange event's target must be the inner slot element at 1st slotchange expected Element node <slot></slot> but got Element node <slot></slot>
FAILslotchange event must fire on a slot element inside an open shadow root not in a document when nested slots's contents change
assert_equals: slotchange event's target must be the inner slot element at 1st slotchange expected Element node <slot></slot> but got Element node <slot></slot>
assert_equals: slotchange event's target must be the inner slot element at 1st slotchange expected Element node <slot></slot> but got Element node <slot></slot>
FAILslotchange event must fire on a slot element inside a closed shadow root not in a document when nested slots's contents change
assert_equals: slotchange event's target must be the inner slot element at 1st slotchange expected Element node <slot></slot> but got Element node <slot></slot>
assert_equals: slotchange event's target must be the inner slot element at 1st slotchange expected Element node <slot></slot> but got Element node <slot></slot>
FAILslotchange event must fire at the end of current microtask after mutation observers are invoked inside an open shadow root in a document when slots's contents change
assert_equals: slotchange event must not be fired before mutation records are delivered expected 0 but got 1
assert_equals: slotchange event must not be fired before mutation records are delivered expected 0 but got 1
FAILslotchange event must fire at the end of current microtask after mutation observers are invoked inside a closed shadow root in a document when slots's contents change
assert_equals: slotchange event must not be fired before mutation records are delivered expected 0 but got 1
assert_equals: slotchange event must not be fired before mutation records are delivered expected 0 but got 1
FAILslotchange event must fire at the end of current microtask after mutation observers are invoked inside an open shadow root not in a document when slots's contents change
assert_equals: slotchange event must not be fired before mutation records are delivered expected 0 but got 1
assert_equals: slotchange event must not be fired before mutation records are delivered expected 0 but got 1
FAILslotchange event must fire at the end of current microtask after mutation observers are invoked inside a closed shadow root not in a document when slots's contents change
assert_equals: slotchange event must not be fired before mutation records are delivered expected 0 but got 1
assert_equals: slotchange event must not be fired before mutation records are delivered expected 0 but got 1