Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
Passwhen shadow host itself is focused, it should match display:none, lose focus then becomes display:block again.
Asserts run
Pass
assert_equals("none", "none")
    at  /shadow-dom/focus/focus-shadowhost-display-none.html:34:13
Pass
assert_equals(Element node <div id="host" tabindex="0"></div>, Element node <div id="host" tabindex="0"></div>)
    at  /shadow-dom/focus/focus-shadowhost-display-none.html:35:13
Pass
assert_equals(null, null)
    at  /shadow-dom/focus/focus-shadowhost-display-none.html:36:13
Pass
assert_equals("block", "block")
    at HTMLDivElement.onBlur ( /shadow-dom/focus/focus-shadowhost-display-none.html:39:17)
Pass
assert_equals(Element node <body><div id="sandbox"><div id="host" tabindex="0"></div..., Element node <body><div id="sandbox"><div id="host" tabindex="0"></div...)
    at HTMLDivElement.onBlur ( /shadow-dom/focus/focus-shadowhost-display-none.html:40:17)
Pass
assert_equals(null, null)
    at HTMLDivElement.onBlur ( /shadow-dom/focus/focus-shadowhost-display-none.html:41:17)
Passwhen shadow host with delegatesFocus=true has focused element inside the shadow, it should also match display:none, then lose focus and become display:block again.
Asserts run
Pass
assert_equals("none", "none")
    at  /shadow-dom/focus/focus-shadowhost-display-none.html:54:13
Pass
assert_equals(Element node <div id="host" tabindex="0"></div>, Element node <div id="host" tabindex="0"></div>)
    at  /shadow-dom/focus/focus-shadowhost-display-none.html:55:13
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at  /shadow-dom/focus/focus-shadowhost-display-none.html:56:13
Pass
assert_equals("block", "block")
    at HTMLInputElement.onBlur ( /shadow-dom/focus/focus-shadowhost-display-none.html:59:17)
Pass
assert_equals(Element node <body><div id="sandbox"><div id="host" tabindex="0"></div..., Element node <body><div id="sandbox"><div id="host" tabindex="0"></div...)
    at HTMLInputElement.onBlur ( /shadow-dom/focus/focus-shadowhost-display-none.html:60:17)
Pass
assert_equals(null, null)
    at HTMLInputElement.onBlur ( /shadow-dom/focus/focus-shadowhost-display-none.html:61:17)