ShadowRoot-interface.html
Details
- Test
/shadow-dom/ShadowRoot-interface.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Check the existence of ShadowRoot interface |
| PASS | ShadowRoot must inherit from DocumentFragment |
| PASS | ShadowRoot must not be a constructor |
| FAIL | ShadowRoot.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 |
| FAIL | ShadowRoot.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 |
| PASS | ShadowRoot.host must return the shadow host of the context object. |
| PASS | ShadowRoot.innerHTML must return the result of the HTML fragment serialization algorithm when shadow root is open. |
| PASS | ShadowRoot.innerHTML must return the result of the HTML fragment serialization algorithm when shadow root is closed. |
| PASS | ShadowRoot.innerHTML must replace all with the result of invoking the fragment parsing algorithm when shadow root is open. |
| PASS | ShadowRoot.innerHTML must replace all with the result of invoking the fragment parsing algorithm when shadow root is closed. |
| FAIL | ShadowRoot.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]" |
| FAIL | ShadowRoot.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]" |