Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
Passinput1 has the focus
Asserts run
Pass
assert_array_equals([Element node <input id="input1"></input>], [Element node <input id="input1"></input>])
    at Test.<anonymous> ( /html/semantics/selectors/pseudo-classes/utils.js:12:5)
Passtabindex attribute makes the element focusable
Asserts run
Pass
assert_array_equals([Element node <div tabindex="0" id="div1">hello</div>], [Element node <div tabindex="0" id="div1">hello</div>])
    at Test.<anonymous> ( /html/semantics/selectors/pseudo-classes/utils.js:12:5)
Passeditable elements are focusable
Asserts run
Pass
assert_array_equals([Element node <div contenteditable="" id="div2">content</div>], [Element node <div contenteditable="" id="div2">content</div>])
    at Test.<anonymous> ( /html/semantics/selectors/pseudo-classes/utils.js:12:5)
Pass':focus' matches focussed body with tabindex
Asserts run
Pass
assert_array_equals([Element node <body id="body" tabindex="0">   <div id="log">Running, 3 ...], [Element node <body id="body" tabindex="0">   <div id="log">Running, 3 ...])
    at Test.<anonymous> ( /html/semantics/selectors/pseudo-classes/utils.js:12:5)
Pass':focus' doesn't match focused elements in iframe
Asserts run
Pass
assert_array_equals([], [])
    at Test.<anonymous> ( /html/semantics/selectors/pseudo-classes/utils.js:12:5)
hello
content