2 div { padding: 10px; margin: 8px; }
3 embed { width: 50px; height: 50px; }
4 iframe { width: 50px; height: 50px; }
14 var target = document.getElementById("target");
18 target.parentNode.removeChild(target);
19 document.body.offsetTop;
23 Test that plug-ins cannot cause the NSView hierarchy to change beneath <tt>-[NSView _invalidateGStatesForTree]</tt>.
26 To test, resize the browser window. Reload and repeat a few times. Each time you resize, the orange rectangle and
27 its contents should vanish, and the browser should not crash.
29 <div id="target" style="border: solid orange;">
30 <embed type="application/x-webkit-test-netscape"></embed>
31 <iframe src=""></iframe>
32 <iframe src=""></iframe>
33 <iframe src=""></iframe>
35 <div style="border: solid blue;">
36 <embed type="application/x-webkit-test-netscape" onsetwindow="hideFirst()"></embed>