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: 50px; | 11 grid-template-rows: 50px; |
12 grid-template-columns: minmax(50px, 180px) 100px 100px; | 12 grid-template-columns: minmax(50px, 180px) 100px 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-columns lead to a repaint
. The final grid element should be 250px * 50px, the grid item should be 50px *
50px. No trace of the elements before the grid-template-columns change should be
seen.</div> | 19 <div> This test checks that changing the grid-template-columns lead to a repaint
. The final grid element should be 250px * 50px, the grid item should be 50px *
50px. No trace of the elements before the grid-template-columns change should be
seen.</div> |
20 <div class="constrainedContainer"> | 20 <div class="constrainedContainer"> |
21 <div class="grid"> | 21 <div class="grid min-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 |