Pass | The second input should be focused since it has autofocus | Asserts runPass | 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) |
|
Pass | Focus should not be delegated to the autofocus element because the inner host doesn't have delegates focus | Asserts runPass | 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) |
|
Pass | Focus should be delegated to the autofocus element when the inner host has delegates focus | Asserts runPass | 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) |
|
Pass | Focus should not be delegated to the slotted elements | Asserts runPass | 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) |
|
Pass | Focus should be delegated to the nested div which has autofocus based on the tree order | Asserts runPass | 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) |
|