Pass | The body element must be the active element if no element is focused | Asserts runPass | 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> <..., "The active element should be the body element.")
at Test.<anonymous> ( /html/interaction/focus/document-level-focus-apis/document-level-apis.html:13:3) |
|
Pass | The element must be the active element if it is focused | Asserts runPass | assert_equals(Element node <input id="test"></input>, Element node <input id="test"></input>, "The active element should be the input element.")
at Test.<anonymous> ( /html/interaction/focus/document-level-focus-apis/document-level-apis.html:18:3) |
|
Pass | The hasFocus() method must return false if the Document has no browsing context | Asserts runPass | assert_false(false, "The hasFocus() method should return false.")
at Test.<anonymous> ( /html/interaction/focus/document-level-focus-apis/document-level-apis.html:30:3) |
|
Pass | When a child browsing context is focused, its browsing context container is also focused | Asserts runPass | assert_equals(Element node <iframe id="fr" src="support/test.html" onload="frame_loa..., Element node <iframe id="fr" src="support/test.html" onload="frame_loa..., "The active element should be the iframe element.")
at Test.<anonymous> ( /html/interaction/focus/document-level-focus-apis/document-level-apis.html:24:5) |
|