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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-element-remove-svg-child.html

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <link href="resources/grid.css" rel="stylesheet"> 2 <link href="resources/grid.css" rel="stylesheet">
3 <p>This test checks that removing a non-RenderBox grid item doesn't make us cras h.</p> 3 <p>This test checks that removing a non-LayoutBox grid item doesn't make us cras h.</p>
4 <p>This test has PASSED if it didn't crash and you see PASSED below.</p> 4 <p>This test has PASSED if it didn't crash and you see PASSED below.</p>
5 <div class="grid"> 5 <div class="grid">
6 <svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='190'> 6 <svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='190'>
7 <polygon points='100,10 40,180 190,60 10,60 160,180' style='fill:lime;stro ke:purple;stroke-width:5;fill-rule:evenodd;'> 7 <polygon points='100,10 40,180 190,60 10,60 160,180' style='fill:lime;stro ke:purple;stroke-width:5;fill-rule:evenodd;'>
8 </svg> 8 </svg>
9 </div> 9 </div>
10 10
11 <script> 11 <script>
12 if (window.testRunner) 12 if (window.testRunner)
13 testRunner.dumpAsText(); 13 testRunner.dumpAsText();
14 14
15 var grid = document.getElementsByClassName("grid")[0]; 15 var grid = document.getElementsByClassName("grid")[0];
16 grid.offsetTop; 16 grid.offsetTop;
17 while (grid.firstChild) 17 while (grid.firstChild)
18 grid.removeChild(grid.firstChild); 18 grid.removeChild(grid.firstChild);
19 grid.offsetTop; 19 grid.offsetTop;
20 grid.innerHTML = "PASSED"; 20 grid.innerHTML = "PASSED";
21 </script> 21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698