slots-fallback.html

FAILExpected0 of 13 subtests pass474 ms

Details

Test
/shadow-dom/slots-fallback.html
Harness
OK

Subtests

StatusSubtestMessage
FAILSlots fallback: Basic.
assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0
assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0
FAILSlots fallback: Basic, elements only.
assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0
assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0
FAILSlots fallback: Slots in Slots.
assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0
assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0
FAILSlots fallback: Slots in Slots, elements only.
assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0
assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0
FAILSlots 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
assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0
FAILSlots 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
assert_array_equals: lengths differ, expected array [Element node <div id="c1" slot="slot2"></div>] length 1, got [] length 0
FAILSlots 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 .…
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 .…
FAILSlots 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 .…
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 .…
FAILSlots 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
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
FAILSlots 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
assert_array_equals: lengths differ, expected array [Element node <div id="c1" slot="slot1"></div>] length 1, got [] length 0
FAILSlots 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…
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…
FAILSlots 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
assert_array_equals: lengths differ, expected array [Element node <div id="f1"></div>] length 1, got [] length 0
FAILSlots 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
assert_array_equals: lengths differ, expected array [Element node <div id="f2"></div>] length 1, got [] length 0