| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <style> | 2 <style> |
| 3 body { | 3 body { |
| 4 margin: 0; | 4 margin: 0; |
| 5 } | 5 } |
| 6 #container { | 6 #container { |
| 7 display: grid; | 7 display: grid; |
| 8 grid-auto-columns: 200px; | 8 grid-auto-columns: 200px; |
| 9 grid-auto-rows: auto; | 9 grid-auto-rows: auto; |
| 10 grid-auto-flow: row; | 10 grid-auto-flow: row; |
| 11 align-content: stretch; | 11 align-content: stretch; |
| 12 width: 200px; | 12 width: 200px; |
| 13 height: 300px; | 13 height: 300px; |
| 14 background-color: red; | |
| 15 } | 14 } |
| 16 .item { | 15 .item { |
| 17 background-color: green; | 16 background-color: green; |
| 18 } | 17 } |
| 19 </style> | 18 </style> |
| 20 <p style="height: 20px">Tests invalidation on align-content style change (distri
bution). Passes if there is no red.</p> | 19 <p style="height: 20px">Tests invalidation on align-content style change (distri
bution). Passes if there is no red.</p> |
| 21 <div id="container"> | 20 <div id="container"> |
| 22 <div class="item"> | 21 <div class="item"> |
| 23 <div style="height: 50px"></div> | 22 <div style="height: 50px"></div> |
| 24 </div> | 23 </div> |
| 25 <div class="item"> | 24 <div class="item"> |
| 26 <div style="height: 50px"></div> | 25 <div style="height: 50px"></div> |
| 27 </div> | 26 </div> |
| 28 <div class="item"> | 27 <div class="item"> |
| 29 <div style="height: 50px"></div> | 28 <div style="height: 50px"></div> |
| 30 </div> | 29 </div> |
| 31 </div> | 30 </div> |
| OLD | NEW |