imperative-slot-api.html

FAILExpected1 of 16 subtests pass1,966 ms

Details

Test
/shadow-dom/imperative-slot-api.html
Harness
OK

Subtests

StatusSubtestMessage
FAILattachShadow can take slotAssignment parameter.
assert_equals: slotAssignment should return "manual" expected "manual" but got "named"
assert_equals: slotAssignment should return "manual" expected "manual" but got "named"
FAILslot.attach() should take variadic not sequence.
tTree.s1.assign is not a function
tTree.s1.assign is not a function
FAILImperative slot API can assign nodes in manual slot assignment.
assert_equals: expected null but got Element node <slot id="s1"></slot>
assert_equals: expected null but got Element node <slot id="s1"></slot>
FAILOrder of slottables is preserved in manual slot assignment.
tTree.s1.assign is not a function
tTree.s1.assign is not a function
FAILPreviously assigned slottable is moved to new slot when it's reassigned.
tTree.s1.assign is not a function
tTree.s1.assign is not a function
FAILOrder and assignment of nodes are preserved during multiple assignment in a row.
tTree.s1.assign is not a function
tTree.s1.assign is not a function
FAILAssigning invalid nodes should be allowed.
tTree.s1.assign is not a function
tTree.s1.assign is not a function
FAILMoving a slot to a new host, the slot loses its previously assigned slottables.
tTree.s1.assign is not a function
tTree.s1.assign is not a function
FAILMoving a slot's tree order position within a shadow host has no impact on its assigned slottables.
tTree.s1.assign is not a function
tTree.s1.assign is not a function
FAILAppending slottable to different host, it loses slot assignment. It can be re-assigned within a new host.
tTree.s1.assign is not a function
tTree.s1.assign is not a function
FAILPreviously 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
tTree.s1.assign is not a function
FAILAssignment with the same node in parameters should be ignored, first one wins.
tTree.s1.assign is not a function
tTree.s1.assign is not a function
FAILRemoving a slot from DOM resets its slottable's slot assignment.
tTree.s1.assign is not a function
tTree.s1.assign is not a function
FAILNodes can be assigned even if slots or nodes aren't in the same tree.
tTree.s1.assign is not a function
tTree.s1.assign is not a function
FAILRemoving a node from the document does not break manually assigned slot linkage.
tTree.s1.assign is not a function
tTree.s1.assign is not a function
PASSthrow TypeError if the passed values are neither Element nor Text