HTMLSlotElement-interface.html

FAILExpected7 of 18 subtests pass337 ms

Details

Test
/shadow-dom/HTMLSlotElement-interface.html
Harness
OK

Subtests

StatusSubtestMessage
FAILHTMLSlotElement must be defined on window
assert_equals: HTMLSlotElement should inherit from HTMLElement expected Node object of unknown type but got Node object of unknown type
assert_equals: HTMLSlotElement should inherit from HTMLElement expected Node object of unknown type but got Node object of unknown type
PASS"name" attribute on HTMLSlotElement must reflect "name" attribute
PASSassignedNodes() on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree
PASSassignedNodes({"flattened":false}) on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree
PASSassignedNodes({"flattened":true}) on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree
FAILassignedNodes() must return the list of assigned nodes when none of the assigned nodes themselves are slots
assert_array_equals: assignedNodes() on a default slot must not return an element with non-empty slot attribute lengths differ, expected array [] length 0, got [Element node <p slot="foo"></p>] length…
assert_array_equals: assignedNodes() on a default slot must not return an element with non-empty slot attribute lengths differ, expected array [] length 0, got [Element node <p slot="foo"></p>] length…
FAILassignedNodes({"flattened":false}) must return the list of assigned nodes when none of the assigned nodes themselves are slots
assert_array_equals: assignedNodes() on a default slot must not return an element with non-empty slot attribute lengths differ, expected array [] length 0, got [Element node <p slot="foo"></p>] length…
assert_array_equals: assignedNodes() on a default slot must not return an element with non-empty slot attribute lengths differ, expected array [] length 0, got [Element node <p slot="foo"></p>] length…
FAILassignedNodes({"flattened":true}) must return the list of assigned nodes when none of the assigned nodes themselves are slots
assert_array_equals: assignedNodes() on a default slot must not return an element with non-empty slot attribute lengths differ, expected array [] length 0, got [Element node <p slot="foo"></p>] length…
assert_array_equals: assignedNodes() on a default slot must not return an element with non-empty slot attribute lengths differ, expected array [] length 0, got [Element node <p slot="foo"></p>] length…
FAILassignedNodes() must update when slot and name attributes are modified
assert_array_equals: assignedNodes must be empty when there are no matching elements for the slot name lengths differ, expected array [] length 0, got [Element node <p></p>, Element node <b></b>] leng…
assert_array_equals: assignedNodes must be empty when there are no matching elements for the slot name lengths differ, expected array [] length 0, got [Element node <p></p>, Element node <b></b>] leng…
FAILassignedNodes({"flattened":false}) must update when slot and name attributes are modified
assert_array_equals: assignedNodes must be empty when there are no matching elements for the slot name lengths differ, expected array [] length 0, got [Element node <p></p>, Element node <b></b>] leng…
assert_array_equals: assignedNodes must be empty when there are no matching elements for the slot name lengths differ, expected array [] length 0, got [Element node <p></p>, Element node <b></b>] leng…
FAILassignedNodes({"flattened":true}) must update when slot and name attributes are modified
assert_array_equals: assignedNodes must be empty when there are no matching elements for the slot name lengths differ, expected array [] length 0, got [Element node <p></p>, Element node <b></b>] leng…
assert_array_equals: assignedNodes must be empty when there are no matching elements for the slot name lengths differ, expected array [] length 0, got [Element node <p></p>, Element node <b></b>] leng…
PASSassignedNodes() must update when a default slot is introduced dynamically by a slot rename
PASSassignedNodes({"flattened":false}) must update when a default slot is introduced dynamically by a slot rename
PASSassignedNodes({"flattened":true}) must update when a default slot is introduced dynamically by a slot rename
FAILassignedNodes() must update when slot elements are inserted or removed
assert_array_equals: assignedNodes on a default slot must return the elements without slot attributes and text nodes lengths differ, expected array [Element node <p></p>, Text node "", Element node <b…
assert_array_equals: assignedNodes on a default slot must return the elements without slot attributes and text nodes lengths differ, expected array [Element node <p></p>, Text node "", Element node <b…
FAILassignedNodes({"flattened":false}) must update when slot elements are inserted or removed
assert_array_equals: assignedNodes on a default slot must return the elements without slot attributes and text nodes lengths differ, expected array [Element node <p></p>, Text node "", Element node <b…
assert_array_equals: assignedNodes on a default slot must return the elements without slot attributes and text nodes lengths differ, expected array [Element node <p></p>, Text node "", Element node <b…
FAILassignedNodes({"flattened":true}) must update when slot elements are inserted or removed
assert_array_equals: assignedNodes on a default slot must return the elements without slot attributes and text nodes lengths differ, expected array [Element node <p></p>, Text node "", Element node <b…
assert_array_equals: assignedNodes on a default slot must return the elements without slot attributes and text nodes lengths differ, expected array [Element node <p></p>, Text node "", Element node <b…
FAILassignedNodes({flatten: true}) must return the distributed nodes, and assignedNodes() and assignedNodes({flatten: false}) must returned the assigned nodes
assert_array_equals: assignedNodes({flatten: true}) on a default slot must return the distributed nodes expected property 0 to be Element node <span></span> but got Element node <slot></slot> (expecte…
assert_array_equals: assignedNodes({flatten: true}) on a default slot must return the distributed nodes expected property 0 to be Element node <span></span> but got Element node <slot></slot> (expecte…