Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-grid-layout / grid-element-bad-cast-addchild.html
blobdc002e827acc286d70ca3c0404efad86709a6bd2
1 <!DOCTYPE html>
2 <link href="resources/grid.css" rel="stylesheet">
3 <p>This test checks that inserting 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 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
10 var grid = document.getElementsByClassName("grid")[0];
11 grid.offsetTop;
12 grid.innerHTML = "PASSED";
13 </script>