Details
- Test
/shadow-dom/slots.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Slots: Basic. |
| PASS | Slots: Basic, elements only. |
| PASS | Slots: Slots in closed. |
| PASS | Slots: Slots in closed, elements only. |
| PASS | Slots: Slots not in a shadow tree. |
| PASS | Slots: Slots not in a shadow tree, elements only. |
| PASS | Slots: Distributed nodes for Slots not in a shadow tree. |
| PASS | Slots: Name matching |
| PASS | Slots: No direct host child. |
| PASS | Slots: Default Slot. |
| PASS | Slots: Slot in Slot does not matter in assignment. |
| FAIL | Slots: Slot is assigned to another slot assert_equals: expected Element node <slot id="s2" name="slot2"></slot> but got Element node <slot id="s2" name="slot2"></slot> |
| FAIL | Slots: Open > Closed. assert_array_equals: expected property 0 to be Element node <slot id="s1" name="slot1" slot="slot2"></slot> but got Element node <slot id="s1" name="slot1" slot="slot2"></slot> (expected array [Elemen… |
| FAIL | Slots: Closed > Closed. assert_array_equals: expected property 0 to be Element node <slot id="s1" name="slot1" slot="slot2"></slot> but got Element node <slot id="s1" name="slot1" slot="slot2"></slot> (expected array [Elemen… |
| FAIL | Slots: Closed > Open. assert_equals: expected Element node <slot id="s2" name="slot2"></slot> but got Element node <slot id="s2" name="slot2"></slot> |
| FAIL | Slots: Complex case: Basi line. assert_equals: expected Element node <slot id="s5" name="slot5"></slot> but got Element node <slot id="s5" name="slot5"></slot> |
| FAIL | Slots: Mutation: appendChild. assert_array_equals: lengths differ, expected array [Element node <div id="c1" slot="slot1"></div>, Element node <div slot="slot1"></div>, Element node <div id="c5" slot="slot5"></div>] length 3, got … |
| FAIL | Slots: Mutation: Change slot= attribute 1. assert_array_equals: lengths differ, expected array [Element node <div id="c5" slot="slot5"></div>] length 1, got [Element node <slot id="s1" name="slot1" slot="slot5"></slot>, Element node <div id="c… |
| FAIL | Slots: Mutation: Change slot= attribute 2. assert_array_equals: lengths differ, expected array [Element node <div id="c5" slot="slot5"></div>] length 1, got [Element node <slot id="s1" name="slot1" slot="slot5"></slot>, Element node <div id="c… |
| FAIL | Slots: Mutation: Change slot= attribute 3. assert_array_equals: lengths differ, expected array [Element node <div id="c1" slot="slot1"></div>, Element node <div id="c4" slot="slot1"></div>, Element node <div id="c5" slot="slot5"></div>] length… |
| FAIL | Slots: Mutation: Remove a child. assert_array_equals: lengths differ, expected array [Element node <div id="c5" slot="slot5"></div>] length 1, got [Element node <slot id="s1" name="slot1" slot="slot5"></slot>, Element node <div id="c… |
| PASS | Slots: Mutation: Add a slot: after. |
| FAIL | Slots: Mutation: Add a slot: before. assert_array_equals: lengths differ, expected array [Element node <slot name="slot1"></slot>, Element node <slot id="s3"></slot>, Element node <div id="c7"></div>] length 3, got [Text node "
"… |
| FAIL | Slots: Mutation: Remove a slot. assert_array_equals: lengths differ, expected array [Element node <div id="c5" slot="slot5"></div>] length 1, got [Element node <slot id="s1" name="slot1" slot="slot5"></slot>, Element node <div id="c… |
| FAIL | Slots: Mutation: Change slot name= attribute. assert_array_equals: expected property 0 to be Element node <slot id="s1" name="slot2" slot="slot5"></slot> but got Element node <slot id="s1" name="slot1" slot="slot5"></slot> (expected array [Elemen… |
| FAIL | Slots: Mutation: Change slot slot= attribute. assert_array_equals: lengths differ, expected array [Element node <div id="c5" slot="slot5"></div>] length 1, got [Element node <slot id="s1" name="slot1" slot="slot5"></slot>, Element node <div id="c… |