Summary

Harness status: OK

Found 10 tests

Details

ResultTest NameMessage
PassThe body element must be the active element if no element is focused
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 0 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 0 complete, 1 remain</div> <...)
    at Test.<anonymous> ( /html/semantics/disabled-elements/disabledElement.html:26:5)
PassA disabled <button> should not be focusable
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 1 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 1 complete, 1 remain</div> <..., "activeElement after focus on a disabled <button> remains unchanged")
    at Test.<anonymous> ( /html/semantics/disabled-elements/disabledElement.html:33:7)
PassA disabled <input> should not be focusable
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 2 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 2 complete, 1 remain</div> <..., "activeElement after focus on a disabled <input> remains unchanged")
    at Test.<anonymous> ( /html/semantics/disabled-elements/disabledElement.html:33:7)
PassA disabled <select> should not be focusable
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 3 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 3 complete, 1 remain</div> <..., "activeElement after focus on a disabled <select> remains unchanged")
    at Test.<anonymous> ( /html/semantics/disabled-elements/disabledElement.html:33:7)
PassA disabled <optgroup> should not be focusable
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 4 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 4 complete, 1 remain</div> <..., "activeElement after focus on a disabled <optgroup> remains unchanged")
    at Test.<anonymous> ( /html/semantics/disabled-elements/disabledElement.html:33:7)
PassA disabled <option> should not be focusable
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 5 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 5 complete, 1 remain</div> <..., "activeElement after focus on a disabled <option> remains unchanged")
    at Test.<anonymous> ( /html/semantics/disabled-elements/disabledElement.html:33:7)
PassA disabled <textarea> should not be focusable
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 6 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 6 complete, 1 remain</div> <..., "activeElement after focus on a disabled <textarea> remains unchanged")
    at Test.<anonymous> ( /html/semantics/disabled-elements/disabledElement.html:33:7)
PassA disabled <input[type=radio]> should not be focusable
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 7 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 7 complete, 1 remain</div> <..., "activeElement after focus on a disabled <input[type=radio]> remains unchanged")
    at Test.<anonymous> ( /html/semantics/disabled-elements/disabledElement.html:33:7)
PassA disabled <a> should be focusable
Asserts run
Pass
assert_equals(Element node <a href="http://www.w3.org/" disabled="">w3</a>, Element node <a href="http://www.w3.org/" disabled="">w3</a>, "focus on a <a> with a disabled attribute should make it the activeElement")
    at Test.<anonymous> ( /html/semantics/disabled-elements/disabledElement.html:41:7)
PassA disabled <span> should be focusable
Asserts run
Pass
assert_equals(Element node <span tabindex="0" disabled="">foobar</span>, Element node <span tabindex="0" disabled="">foobar</span>, "focus on a <span> with a disabled attribute should make it the activeElement")
    at Test.<anonymous> ( /html/semantics/disabled-elements/disabledElement.html:41:7)
w3 foobar