| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <script> | |
| 4 if (window.testRunner) | |
| 5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); | |
| 6 </script> | |
| 7 <link href="resources/grid.css" rel="stylesheet"> | 3 <link href="resources/grid.css" rel="stylesheet"> |
| 8 <style> | 4 <style> |
| 9 .grid { | 5 .grid { |
| 10 grid-template-columns: (col) 50px (col) 100px (col) 200px (col); | 6 grid-template-columns: (col) 50px (col) 100px (col) 200px (col); |
| 11 grid-template-rows: (row) 70px (row) 140px (row) 280px (row); | 7 grid-template-rows: (row) 70px (row) 140px (row) 280px (row); |
| 12 } | 8 } |
| 13 .differentNamedGridLines { | 9 .differentNamedGridLines { |
| 14 grid-template-columns: (col1) 50px (col2) 100px (col3) 200px (col4); | 10 grid-template-columns: (col1) 50px (col2) 100px (col3) 200px (col4); |
| 15 grid-template-rows: (row1) 70px (row2) 140px (row3) 280px (row4); | 11 grid-template-rows: (row1) 70px (row2) 140px (row3) 280px (row4); |
| 16 } | 12 } |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 window.addEventListener("load", updateGridItemPosition, false); | 177 window.addEventListener("load", updateGridItemPosition, false); |
| 182 </script> | 178 </script> |
| 183 <body> | 179 <body> |
| 184 | 180 |
| 185 <p>This test checks that we properly recompute our internal grid when a grid ite
m is moved.</p> | 181 <p>This test checks that we properly recompute our internal grid when a grid ite
m is moved.</p> |
| 186 | 182 |
| 187 <div class="grid"><div class="sizedToGridArea"></div></div> | 183 <div class="grid"><div class="sizedToGridArea"></div></div> |
| 188 | 184 |
| 189 </body> | 185 </body> |
| 190 </html> | 186 </html> |
| OLD | NEW |