OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <style> | 2 <style> |
3 #container { | 3 #container { |
4 display: flex; | 4 display: flex; |
5 align-items: flex-start; | 5 align-items: flex-start; |
6 align-content: center; | |
7 width: 200px; | 6 width: 200px; |
8 height: 300px; | 7 height: 300px; |
9 background-color: red; | 8 background-color: red; |
10 } | 9 } |
11 .item { | 10 .item { |
12 background-color: green; | 11 background-color: green; |
13 border: solid thin blue; | 12 border: solid thin blue; |
14 width: 100px; | 13 width: 100px; |
15 height: 300px; | 14 height: 300px; |
16 } | 15 } |
17 </style> | 16 </style> |
18 <p style="height: 20px">There should be no invalidations because align-content s
tyle change causes no visual change.</p> | 17 <p style="height: 20px">There should be no invalidations because align-content s
tyle change causes no visual change.</p> |
19 <div id="container"> | 18 <div id="container"> |
20 <div class="item"></div> | 19 <div class="item"></div> |
21 <div class="item"></div> | 20 <div class="item"></div> |
22 </div> | 21 </div> |
OLD | NEW |