OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <link href="../../../fast/css-grid-layout/resources/grid.css" rel="stylesheet"> | 3 <link href="resources/grid.css" rel="stylesheet"> |
4 <style> | 4 <style> |
| 5 body { |
| 6 font: 10px/1 Ahem; |
| 7 } |
| 8 |
5 .grid { | 9 .grid { |
6 grid-template-rows: 50px 100px; | 10 grid-template-rows: 50px 100px; |
7 grid-template-columns: 100px 50px; | 11 grid-template-columns: 100px 50px; |
8 /* Make the grid shrink to fit. */ | 12 /* Make the grid shrink to fit. */ |
9 position: absolute; | 13 position: absolute; |
10 } | 14 } |
11 .sizedToGridArea { | 15 .sizedToGridArea { |
12 background-color: purple; | 16 background-color: purple; |
13 grid-row: 2; | 17 grid-row: 2; |
14 } | 18 } |
15 </style> | 19 </style> |
16 <body> | 20 <body> |
17 <div>This test checks that changing the grid-row on a grid item properly repaint
. The final grid item should be 100px * 100px. There should be no trace of the g
rid item at the old position.</div> | 21 <div>This test checks that changing the grid-row on a grid item properly repaint
. The final grid item should be 100px * 100px. There should be no trace of the g
rid item at the old position.</div> |
18 <div class="grid"> | 22 <div class="grid"> |
19 <div class="sizedToGridArea"></div> | 23 <div class="sizedToGridArea"></div> |
20 </div> | 24 </div> |
21 </body> | 25 </body> |
22 </html> | 26 </html> |
OLD | NEW |