imperative-slot-api.html
Details
- Test
/shadow-dom/imperative-slot-api.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | attachShadow can take slotAssignment parameter. assert_equals: slotAssignment should return "manual" expected "manual" but got "named" |
| FAIL | slot.attach() should take variadic not sequence. tTree.s1.assign is not a function |
| FAIL | Imperative slot API can assign nodes in manual slot assignment. assert_equals: expected null but got Element node <slot id="s1"></slot> |
| FAIL | Order of slottables is preserved in manual slot assignment. tTree.s1.assign is not a function |
| FAIL | Previously assigned slottable is moved to new slot when it's reassigned. tTree.s1.assign is not a function |
| FAIL | Order and assignment of nodes are preserved during multiple assignment in a row. tTree.s1.assign is not a function |
| FAIL | Assigning invalid nodes should be allowed. tTree.s1.assign is not a function |
| FAIL | Moving a slot to a new host, the slot loses its previously assigned slottables. tTree.s1.assign is not a function |
| FAIL | Moving a slot's tree order position within a shadow host has no impact on its assigned slottables. tTree.s1.assign is not a function |
| FAIL | Appending slottable to different host, it loses slot assignment. It can be re-assigned within a new host. tTree.s1.assign is not a function |
| FAIL | Previously assigned node should not be assigned if slot moved to a new shadow root. The node is re-assigned when moved back. tTree.s1.assign is not a function |
| FAIL | Assignment with the same node in parameters should be ignored, first one wins. tTree.s1.assign is not a function |
| FAIL | Removing a slot from DOM resets its slottable's slot assignment. tTree.s1.assign is not a function |
| FAIL | Nodes can be assigned even if slots or nodes aren't in the same tree. tTree.s1.assign is not a function |
| FAIL | Removing a node from the document does not break manually assigned slot linkage. tTree.s1.assign is not a function |
| PASS | throw TypeError if the passed values are neither Element nor Text |