slottedToSecondSlot
slottedToFirstSlot
outside

Summary

Harness status: OK

Found 15 tests

Details

ResultTest NameMessage
Passfocus() on host with delegatesFocus, all tabindex=0
Asserts run
Pass
assert_equals(Element node <div tabindex="0">aboveSlots</div>, Element node <div tabindex="0">aboveSlots</div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:82:3)
Pass
assert_equals(Element node <div id="host" tabindex="0">   <div id="slottedToSecondSl..., Element node <div id="host" tabindex="0">   <div id="slottedToSecondSl...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:83:3)
Passfocus() on host with delegatesFocus & tabindex =-1, all other tabindex=0
Asserts run
Pass
assert_equals(Element node <div tabindex="0">aboveSlots</div>, Element node <div tabindex="0">aboveSlots</div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:92:3)
Pass
assert_equals(Element node <div id="host" tabindex="-1">   <div id="slottedToSecondS..., Element node <div id="host" tabindex="-1">   <div id="slottedToSecondS...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:93:3)
Passfocus() on host with delegatesFocus & no tabindex, all other tabindex=0
Asserts run
Pass
assert_equals(Element node <div tabindex="0">aboveSlots</div>, Element node <div tabindex="0">aboveSlots</div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:101:3)
Pass
assert_equals(Element node <div id="host">   <div id="slottedToSecondSlot" slot="sec..., Element node <div id="host">   <div id="slottedToSecondSlot" slot="sec...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:102:3)
Passfocus() on host with delegatesFocus & tabindex = 0, all other tabindex=-1
Asserts run
Pass
assert_equals(Element node <div tabindex="-1">aboveSlots</div>, Element node <div tabindex="-1">aboveSlots</div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:111:3)
Pass
assert_equals(Element node <div id="host" tabindex="0">   <div id="slottedToSecondSl..., Element node <div id="host" tabindex="0">   <div id="slottedToSecondSl...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:112:3)
Passfocus() on host with delegatesFocus, all without tabindex
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:120:3)
Pass
assert_equals(Element node <body> <div id="host">   <div id="slottedToSecondSlot" sl..., Element node <body> <div id="host">   <div id="slottedToSecondSlot" sl...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:121:3)
Passfocus() on host with delegatesFocus, all tabindex=-1
Asserts run
Pass
assert_equals(Element node <div tabindex="-1">aboveSlots</div>, Element node <div tabindex="-1">aboveSlots</div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:129:3)
Pass
assert_equals(Element node <div id="host" tabindex="-1">   <div id="slottedToSecondS..., Element node <div id="host" tabindex="-1">   <div id="slottedToSecondS...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:130:3)
Passfocus() on host with delegatesFocus & tabindex=0, #belowSlots with tabindex=0
Asserts run
Pass
assert_equals(Element node <div tabindex="0">belowSlots</div>, Element node <div tabindex="0">belowSlots</div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:149:3)
Pass
assert_equals(Element node <div id="host" tabindex="0">   <div id="slottedToSecondSl..., Element node <div id="host" tabindex="0">   <div id="slottedToSecondSl...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:150:3)
Passfocus() on host with delegatesFocus & tabindex=0, #outside with tabindex=0
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:169:3)
Pass
assert_equals(Element node <body> <div id="host" tabindex="0">   <div id="slottedToS..., Element node <body> <div id="host" tabindex="0">   <div id="slottedToS...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:170:3)
Passfocus() on host with delegatesFocus & tabindex=0, #aboveSlots and #belowSlots with tabindex=0
Asserts run
Pass
assert_equals(Element node <div tabindex="0">aboveSlots</div>, Element node <div tabindex="0">aboveSlots</div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:188:3)
Pass
assert_equals(Element node <div id="host" tabindex="0">   <div id="slottedToSecondSl..., Element node <div id="host" tabindex="0">   <div id="slottedToSecondSl...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:189:3)
Passfocus() on host with delegatesFocus & tabindex=0, #aboveSlots with tabindex=0 and #belowSlots with tabindex=1
Asserts run
Pass
assert_equals(Element node <div tabindex="0">aboveSlots</div>, Element node <div tabindex="0">aboveSlots</div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:208:3)
Pass
assert_equals(Element node <div id="host" tabindex="0">   <div id="slottedToSecondSl..., Element node <div id="host" tabindex="0">   <div id="slottedToSecondSl...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:209:3)
Passfocus() on host with delegatesFocus & tabindex=0, #slottedToFirstSlot, #slottedToSecondSlot, #belowSlots with tabindex=0
Asserts run
Pass
assert_equals(Element node <div tabindex="0">belowSlots</div>, Element node <div tabindex="0">belowSlots</div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:227:3)
Pass
assert_equals(Element node <div id="host" tabindex="0">   <div id="slottedToSecondSl..., Element node <div id="host" tabindex="0">   <div id="slottedToSecondSl...)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:228:3)
Passfocus() on host with delegatesFocus and already-focused non-first shadow descendant
Asserts run
Pass
assert_equals(Element node <div tabindex="0">belowSlots</div>, Element node <div tabindex="0">belowSlots</div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:236:3)
Passfocus() on host with delegatesFocus with another host with no delegatesFocus and a focusable child
Asserts run
Pass
assert_equals(Element node <div><input></div>, Element node <div><input></div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:274:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:275:3)
Passfocus() on host with delegatesFocus with another host with delegatesFocus and a focusable child
Asserts run
Pass
assert_equals(Element node <div><input></div>, Element node <div><input></div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:281:3)
Pass
assert_equals(Element node <span></span>, Element node <span></span>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:282:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:283:3)
Passfocus() on host with delegatesFocus and slotted focusable children
Asserts run
Pass
assert_equals(Element node <div><div><input></div></div>, Element node <div><div><input></div></div>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:308:3)
Pass
assert_equals(Element node <input></input>, Element node <input></input>)
    at Test.<anonymous> ( /shadow-dom/focus/focus-method-delegatesFocus.html:309:3)