This is link_1. This is hidden iframe. This is link_2. PASS successfullyParsed is true TEST COMPLETE PASS gFocusedDocument.activeElement.getAttribute("id") is "end" This test is to test that iframe with display:none does not get focus, and neither do its descendants