Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassThe second input should be focused since it has autofocus
Asserts run
Pass
assert_equals(Element node <div id="host"></div>, Element node <div id="host"></div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-autofocus.html:144:5)
Pass
assert_equals(Element node <div tabindex="0" autofocus="true"></div>, Element node <div tabindex="0" autofocus="true"></div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-autofocus.html:145:5)
PassFocus should not be delegated to the autofocus element because the inner host doesn't have delegates focus
Asserts run
Pass
assert_equals(Element node <body>   <script>   function createShadowDOMTree() {     ..., Element node <body>   <script>   function createShadowDOMTree() {     ...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-autofocus.html:182:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /shadow-dom/focus/focus-autofocus.html:183:5)
PassFocus should be delegated to the autofocus element when the inner host has delegates focus
Asserts run
Pass
assert_equals(Element node <div id="host"></div>, Element node <div id="host"></div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-autofocus.html:230:5)
Pass
assert_equals(Element node <div></div>, Element node <div></div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-autofocus.html:231:5)
Pass
assert_equals(Element node <div tabindex="0" autofocus="true"></div>, Element node <div tabindex="0" autofocus="true"></div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-autofocus.html:232:5)
PassFocus should not be delegated to the slotted elements
Asserts run
Pass
assert_equals(Element node <div id="host"><div tabindex="0" autofocus="true"></div><..., Element node <div id="host"><div tabindex="0" autofocus="true"></div><...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-autofocus.html:278:5)
Pass
assert_equals(Element node <div tabindex="0"></div>, Element node <div tabindex="0"></div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-autofocus.html:279:5)
PassFocus should be delegated to the nested div which has autofocus based on the tree order
Asserts run
Pass
assert_equals(Element node <div id="host"></div>, Element node <div id="host"></div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-autofocus.html:333:5)
Pass
assert_equals(Element node <div tabindex="0" autofocus="true"></div>, Element node <div tabindex="0" autofocus="true"></div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-autofocus.html:334:5)