Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassassignedSlot attribute must be defined on Element and Text interfaces
Asserts run
Pass
assert_true(true, "assignedSlot must be defined on Element.prototype")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:16:5)
Pass
assert_true(true, "assignedSlot must be defined on a div element")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:17:5)
Pass
assert_true(true, "assignedSlot must be defined on Text.prototype")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:19:5)
Pass
assert_true(true, "assignedSlot must be defined on a text node")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:20:5)
Pass
assert_false(false, "assignedSlot must not be defined on a comment node")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:21:5)
Pass
assert_false(false, "assignedSlot must not be defined on a processing instruction node")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:22:5)
PassassignedSlot must return null when the node does not have an assigned node
Asserts run
Pass
assert_equals(null, null, "assignedSlot must be null when the element is not in any tree")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:27:5)
Pass
assert_equals(null, null, "assignedSlot on an element must be null when a node is not assigned of any slot")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:34:5)
Pass
assert_equals(null, null, "assignedSlot on a text node must be null when a node is not assigned of any slot")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:38:5)
Pass
assert_equals(null, null, "assignedSlot on an element must be null when a node does not match any slot")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:43:5)
Pass
assert_equals(null, null, "assignedSlot on a text node must be null when a node does not match any slot")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:44:5)
PassassignedSlot must return the assigned slot
Asserts run
Pass
assert_equals(Element node <slot></slot>, Element node <slot></slot>, "assignedSlot on an element must return the assigned default slot element")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:60:5)
Pass
assert_equals(Element node <slot></slot>, Element node <slot></slot>, "assignedSlot on a text node must return the assigned default slot element")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:61:5)
Pass
assert_equals(null, null, "assignedSlot on an element must null when the element is unassigned from a slot element")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:64:5)
Pass
assert_equals(null, null, "assignedSlot on a text node must null when the node is unassigned from a slot element")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:65:5)
Pass
assert_equals(Element node <slot name="foo"></slot>, Element node <slot name="foo"></slot>, "assignedSlot on an element must return the re-assigned slot element")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:68:5)
Pass
assert_equals(Element node <slot></slot>, Element node <slot></slot>, "assignedSlot on a text node must return the re-assigned slot element")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:71:5)
PassassignedSlot must return null when the assigned slot element is inside a closed shadow tree
Asserts run
Pass
assert_equals(null, null, "assignedSlot on an element must return null if the slot is inside a closed shadow tree.")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:87:5)
Pass
assert_equals(null, null, "assignedSlot on a text node must return null if the slot is inside a closed shadow tree.")
    at Test.<anonymous> ( /shadow-dom/Slottable-mixin.html:88:5)