slots.html

FAILExpected12 of 26 subtests pass802 ms

Details

Test
/shadow-dom/slots.html
Harness
OK

Subtests

StatusSubtestMessage
PASSSlots: Basic.
PASSSlots: Basic, elements only.
PASSSlots: Slots in closed.
PASSSlots: Slots in closed, elements only.
PASSSlots: Slots not in a shadow tree.
PASSSlots: Slots not in a shadow tree, elements only.
PASSSlots: Distributed nodes for Slots not in a shadow tree.
PASSSlots: Name matching
PASSSlots: No direct host child.
PASSSlots: Default Slot.
PASSSlots: Slot in Slot does not matter in assignment.
FAILSlots: 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>
assert_equals: expected Element node <slot id="s2" name="slot2"></slot> but got Element node <slot id="s2" name="slot2"></slot>
FAILSlots: 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…
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…
FAILSlots: 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…
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…
FAILSlots: Closed > Open.
assert_equals: expected Element node <slot id="s2" name="slot2"></slot> but got Element node <slot id="s2" name="slot2"></slot>
assert_equals: expected Element node <slot id="s2" name="slot2"></slot> but got Element node <slot id="s2" name="slot2"></slot>
FAILSlots: 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>
assert_equals: expected Element node <slot id="s5" name="slot5"></slot> but got Element node <slot id="s5" name="slot5"></slot>
FAILSlots: 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 …
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 …
FAILSlots: 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…
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…
FAILSlots: 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…
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…
FAILSlots: 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…
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…
FAILSlots: 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…
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…
PASSSlots: Mutation: Add a slot: after.
FAILSlots: 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 " "…
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 " "…
FAILSlots: 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…
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…
FAILSlots: 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…
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…
FAILSlots: 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…
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…