Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-grid-layout / grid-element-remove-svg-child.html
blob3a719068fd5bc33ce22d3e1893bb8f4d3fec34ce
1 <!DOCTYPE html>
2 <link href="resources/grid.css" rel="stylesheet">
3 <p>This test checks that removing a non-LayoutBox grid item doesn't make us crash.</p>
4 <p>This test has PASSED if it didn't crash and you see PASSED below.</p>
5 <div class="grid">
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;stroke:purple;stroke-width:5;fill-rule:evenodd;'>
8 </svg>
9 </div>
11 <script>
12 if (window.testRunner)
13 testRunner.dumpAsText();
15 var grid = document.getElementsByClassName("grid")[0];
16 grid.offsetTop;
17 while (grid.firstChild)
18 grid.removeChild(grid.firstChild);
19 grid.offsetTop;
20 grid.innerHTML = "PASSED";
21 </script>