Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: LayoutTests/svg/foreignObject/absolute-position-foreign-object-child-crash.html

Issue 8591014: Merge 99731 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <script src="../../fast/js/resources/js-test-pre.js"></script> 1 <script src="../../fast/js/resources/js-test-pre.js"></script>
2 2
3 <svg> 3 <svg>
4 <foreignObject> 4 <foreignObject>
5 <div style="position: absolute;"> 5 <div style="position: absolute;">
6 <div id="div1"></div> 6 <div id="div1"></div>
7 <div id="div2" style="overflow:hidden; width:100px; height:100px;">x </div> 7 <div id="div2" style="overflow:hidden; width:100px; height:100px;">x </div>
8 </div> 8 </div>
9 </foreignObject> 9 </foreignObject>
10 </svg> 10 </svg>
11 <script> 11 <script>
12 function RemoveNode(n) { n.parentNode.removeChild(n) } 12 function RemoveNode(n) { n.parentNode.removeChild(n) }
13 window.onload = function() { 13 window.onload = function() {
14 document.body.offsetTop; // Force layout. 14 document.body.offsetTop; // Force layout.
15 RemoveNode(document.getElementById('div1')); 15 RemoveNode(document.getElementById('div1'));
16 document.body.offsetTop; // Force layout. 16 document.body.offsetTop; // Force layout.
17 RemoveNode(document.getElementById('div2')); 17 RemoveNode(document.getElementById('div2'));
18 if (window.layoutTestController) 18 if (window.layoutTestController)
19 layoutTestController.dumpAsText(); 19 layoutTestController.dumpAsText();
20 } 20 }
21 </script> 21 </script>
22 <body> 22 <body>
23 PASS 23 PASS
24 </body> 24 </body>
25 25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698