blob: 740d0c25513a85c148e90a78408432ce7c1c99c1 [file] [log] [blame]
Make sure that clicking on an inactive frame clears existing element focus.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
===> Making a frame with a focused element inactive by focus() for another frame.
PASS doc.activeElement is doc.body
===> Making a frame with a focused element inactive by mouse click for another frame.
PASS doc.activeElement is doc.body
===> Making the frame active again clicking by a non-focusable element.
PASS doc.activeElement is doc.body
PASS successfullyParsed is true
TEST COMPLETE