slotchange-event.html
Details
- Test
/shadow-dom/slotchange-event.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | slotchange event must fire on a default slot element inside an open shadow root in a document |
| PASS | slotchange event must fire on a default slot element inside a closed shadow root in a document |
| PASS | slotchange event must fire on a default slot element inside an open shadow root not in a document |
| PASS | slotchange event must fire on a default slot element inside a closed shadow root not in a document |
| PASS | slotchange event must fire on a named slot element insidean open shadow root in a document |
| PASS | slotchange event must fire on a named slot element insidea closed shadow root in a document |
| PASS | slotchange event must fire on a named slot element insidean open shadow root not in a document |
| PASS | slotchange event must fire on a named slot element insidea closed shadow root not in a document |
| PASS | slotchange event must not fire on a slot element inside an open shadow root in a document when another slot's assigned nodes change |
| PASS | slotchange event must not fire on a slot element inside a closed shadow root in a document when another slot's assigned nodes change |
| PASS | 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 |
| PASS | 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 |
| PASS | slotchange 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 |
| PASS | slotchange 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 |
| PASS | slotchange 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 |
| PASS | slotchange 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 |
| 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 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 |
| FAIL | slotchange 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 |
| FAIL | slotchange 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 |
| FAIL | slotchange 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 |
| PASS | slotchange event must fire on a slot element inside an open shadow root in a document when innerHTML modifies the children of the shadow host |
| PASS | slotchange event must fire on a slot element inside a closed shadow root in a document when innerHTML modifies the children of the shadow host |
| PASS | slotchange 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 |
| PASS | slotchange 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 |
| FAIL | slotchange 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> |
| FAIL | slotchange 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> |
| FAIL | slotchange 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> |
| FAIL | slotchange 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> |
| FAIL | slotchange 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 |
| FAIL | slotchange 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 |
| FAIL | slotchange 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 |
| FAIL | slotchange 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 |