Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / plug-in-mutates-NSView-hierarchy-during-resize.html
blob367b16dc1a73c070e8de843510519e223140c080
1 <style>
2 div { padding: 10px; margin: 8px; }
3 embed { width: 50px; height: 50px; }
4 iframe { width: 50px; height: 50px; }
5 </style>
6 <script>
7 var callCount = 0;
9 function hideFirst()
11 if (++callCount != 2)
12 return;
14 var target = document.getElementById("target");
15 if (!target)
16 return;
18 target.parentNode.removeChild(target);
19 document.body.offsetTop;
21 </script>
22 <p>
23 Test that plugins cannot cause the NSView hierarchy to change beneath <tt>-[NSView _invalidateGStatesForTree]</tt>.
24 </p>
25 <p>
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.
28 </p>
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>
34 </div>
35 <div style="border: solid blue;">
36 <embed type="application/x-webkit-test-netscape" onsetwindow="hideFirst()"></embed>
37 </div>