| 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="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel
="stylesheet"> |
| 4 <link href="resources/grid.css" rel="stylesheet"> |
| 4 <style> | 5 <style> |
| 5 body { | 6 body { |
| 6 font: 10px/1 Ahem; | 7 font: 10px/1 Ahem; |
| 7 } | 8 } |
| 8 | 9 |
| 9 .grid { | 10 .grid { |
| 10 width: -webkit-fit-content; | |
| 11 grid-template-rows: 100px 50px; | 11 grid-template-rows: 100px 50px; |
| 12 grid-template-columns: 100px; | 12 grid-template-columns: 100px; |
| 13 } | 13 } |
| 14 .sizedToGridArea { | 14 .sizedToGridArea { |
| 15 background-color: purple; | 15 background-color: purple; |
| 16 } | 16 } |
| 17 </style> | 17 </style> |
| 18 <body> | 18 <body> |
| 19 <div>This test checks that changing the grid-template-rows lead to a repaint. Th
e final grid element should be 100px * 150px, the grid item should be 100px * 10
0px. No trace of the elements before the grid-template-rows change should be see
n.</div> | 19 <div>This test checks that changing the grid-template-rows lead to a repaint. Th
e final grid element should be 100px * 150px, the grid item should be 100px * 10
0px. No trace of the elements before the grid-template-rows change should be see
n.</div> |
| 20 <div class="constrainedContainer"> | 20 <div class="constrainedContainer"> |
| 21 <div class="grid"> | 21 <div class="grid fit-content"> |
| 22 <div class="sizedToGridArea"></div> | 22 <div class="sizedToGridArea"></div> |
| 23 </div> | 23 </div> |
| 24 </div> | 24 </div> |
| 25 </body> | 25 </body> |
| 26 </html> | 26 </html> |
| OLD | NEW |