Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / foreignObject / absolute-position-foreign-object-child-crash.html
blobb279143c8cfd387ac277cd4933a238c4f42fd4be
1 <script src="../../resources/js-test.js"></script>
3 <svg>
4 <foreignObject>
5 <div style="position: absolute;">
6 <div id="div1"></div>
7 <div id="div2" style="overflow:hidden; width:100px; height:100px;">x</div>
8 </div>
9 </foreignObject>
10 </svg>
11 <script>
12 function RemoveNode(n) { n.parentNode.removeChild(n) }
13 window.onload = function() {
14 document.body.offsetTop; // Force layout.
15 RemoveNode(document.getElementById('div1'));
16 document.body.offsetTop; // Force layout.
17 RemoveNode(document.getElementById('div2'));
18 if (window.testRunner)
19 testRunner.dumpAsText();
21 </script>
22 <body>
23 PASS
24 </body>