OLD | NEW |
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 inserting a non-RenderBox grid item doesn't make us cra
sh.</p> | 3 <p>This test checks that inserting a non-LayoutBox grid item doesn't make us cra
sh.</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 <script> | 6 <script> |
7 if (window.testRunner) | 7 if (window.testRunner) |
8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
9 | 9 |
10 var grid = document.getElementsByClassName("grid")[0]; | 10 var grid = document.getElementsByClassName("grid")[0]; |
11 grid.offsetTop; | 11 grid.offsetTop; |
12 grid.innerHTML = "PASSED"; | 12 grid.innerHTML = "PASSED"; |
13 </script> | 13 </script> |
OLD | NEW |