slots-fallback.html
Details
- Test
/shadow-dom/slots-fallback.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | Slots fallback: Basic. assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0 |
| FAIL | Slots fallback: Basic, elements only. assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0 |
| FAIL | Slots fallback: Slots in Slots. assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0 |
| FAIL | Slots fallback: Slots in Slots, elements only. assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0 |
| FAIL | Slots fallback: Fallback contents should not be used if a node is assigned. assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0 |
| FAIL | Slots fallback: Slots in Slots: Assigned nodes should be used as fallback contents of another slot assert_array_equals: lengths differ, expected array [Element node <div id="c1" slot="slot2"></div>] length 1, got [] length 0 |
| FAIL | Slots fallback: Complex case. assert_array_equals: expected property 0 to be Element node <slot id="s2" name="slot2" slot="slot3"><slot id="s1" nam... but got Element node <slot id="s2" name="slot2" slot="slot3">
<slot .… |
| FAIL | Slots fallback: Complex case, elements only. assert_array_equals: expected property 0 to be Element node <slot id="s2" name="slot2" slot="slot3">
<slot ... but got Element node <slot id="s2" name="slot2" slot="slot3">
<slot .… |
| FAIL | Slots fallback: Mutation. Append fallback contents. assert_array_equals: lengths differ, expected array [Element node <div id="c1" slot="slot1"></div>, Element node <div id="f2"></div>, Element node <div></div>] length 3, got [] length 0 |
| FAIL | Slots fallback: Mutation. Remove fallback contents. assert_array_equals: lengths differ, expected array [Element node <div id="c1" slot="slot1"></div>] length 1, got [] length 0 |
| FAIL | Slots fallback: Mutation. Assign a node to a slot so that fallback contens are no longer used. assert_array_equals: expected property 0 to be Element node <div slot="slot2"></div> but got Element node <slot id="s2" name="slot2" slot="slot3">
<slot ... (expected array [Element node <di… |
| FAIL | Slots fallback: Mutation. Remove an assigned node from a slot so that fallback contens will be used. assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0 |
| FAIL | Slots fallback: Mutation. Remove a slot which is a fallback content of another slot. assert_array_equals: lengths differ, expected array [Element node <div id="f2"></div>] length 1, got [] length 0 |