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