blob: 05bef899c4dd2eb4fceb2517cac44e1549421d1f [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