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>
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;'
>
12 if (window
.testRunner
)
13 testRunner
.dumpAsText();
15 var grid
= document
.getElementsByClassName("grid")[0];
17 while (grid
.firstChild
)
18 grid
.removeChild(grid
.firstChild
);
20 grid
.innerHTML
= "PASSED";