| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <meta charset="utf-8"> |
| 5 <title>CSS Grid Layout Test: Support for 'grid-auto-columns' and 'grid-a
uto-rows' properties</title> |
| 6 <link rel="help" href="http://www.w3.org/TR/css-grid-1/#auto-tracks"> |
| 7 <link rel="match" href="../reference/grid-support-grid-auto-columns-rows
-001-ref.html"> |
| 8 <link rel="author" title="Joao Oliveira" href="mailto:hello@jxs.pt"/> |
| 9 <style> |
| 10 #grid { |
| 11 display: grid; |
| 12 grid-auto-columns: 30px; |
| 13 grid-auto-rows: 30px; |
| 14 } |
| 15 #first-column-first-row { |
| 16 grid-column: 1; |
| 17 grid-row: 1; |
| 18 background-color: purple; |
| 19 } |
| 20 #third-column-first-and-second-rows { |
| 21 grid-column: 3; |
| 22 grid-row: 1 / span 2; |
| 23 background-color: orange |
| 24 } |
| 25 #first-and-second-columns-second-row { |
| 26 grid-column: 1 / span 2; |
| 27 grid-row: 2; |
| 28 background-color: blue; |
| 29 } |
| 30 </style> |
| 31 </head> |
| 32 <body> |
| 33 <p>The test passes if it has the same visual effect as reference.</p> |
| 34 <div id="grid"> |
| 35 <div id="first-column-first-row"></div> |
| 36 <div id="third-column-first-and-second-rows"></div> |
| 37 <div id="first-and-second-columns-second-row"></div> |
| 38 </div> |
| 39 </body> |
| 40 </html> |
| OLD | NEW |