ShadowRoot-interface.html

FAILExpected8 of 12 subtests pass933 ms

Details

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

Subtests

StatusSubtestMessage
PASSCheck the existence of ShadowRoot interface
PASSShadowRoot must inherit from DocumentFragment
PASSShadowRoot must not be a constructor
FAILShadowRoot.activeElement must return the focused element of the context object when shadow root is open.
assert_equals: ShadowRoot.host must return the focused element of an open shadow tree expected Element node <input></input> but got null
assert_equals: ShadowRoot.host must return the focused element of an open shadow tree expected Element node <input></input> but got null
FAILShadowRoot.activeElement must return the focused element of the context object when shadow root is closed.
assert_equals: ShadowRoot.host must return the focused element of an closed shadow tree expected Element node <input></input> but got null
assert_equals: ShadowRoot.host must return the focused element of an closed shadow tree expected Element node <input></input> but got null
PASSShadowRoot.host must return the shadow host of the context object.
PASSShadowRoot.innerHTML must return the result of the HTML fragment serialization algorithm when shadow root is open.
PASSShadowRoot.innerHTML must return the result of the HTML fragment serialization algorithm when shadow root is closed.
PASSShadowRoot.innerHTML must replace all with the result of invoking the fragment parsing algorithm when shadow root is open.
PASSShadowRoot.innerHTML must replace all with the result of invoking the fragment parsing algorithm when shadow root is closed.
FAILShadowRoot.styleSheets must return a StyleSheetList sequence containing the shadow root style sheets when shadow root is open.
assert_equals: Sheet should be null in a disconnected tree expected null but got object "[object CSSStyleSheet]"
assert_equals: Sheet should be null in a disconnected tree expected null but got object "[object CSSStyleSheet]"
FAILShadowRoot.styleSheets must return a StyleSheetList sequence containing the shadow root style sheets when shadow root is closed.
assert_equals: Sheet should be null in a disconnected tree expected null but got object "[object CSSStyleSheet]"
assert_equals: Sheet should be null in a disconnected tree expected null but got object "[object CSSStyleSheet]"