OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <script src="resources/text-based-repaint.js"></script> | |
3 <script> | |
4 function repaintTest() { | |
5 document.getElementById('container').style.alignContent = 'flex-end'; | |
6 } | |
7 onload = runRepaintTest; | |
8 </script> | |
9 <style> | 2 <style> |
10 .container { | 3 .container { |
11 width: 200px; | 4 width: 200px; |
12 height: 300px; | 5 height: 300px; |
13 background-color: blue; | 6 background-color: blue; |
| 7 align-content: flex-end; |
14 } | 8 } |
15 .item { | 9 .item { |
16 background-color: green; | 10 background-color: green; |
17 border: solid thin blue; | 11 border: solid thin blue; |
18 } | 12 } |
19 </style> | 13 </style> |
20 There should be no invalidations when align-content changes on a non-flex contai
ner. | 14 There should be no invalidations when align-content changes on a non-flex contai
ner. |
21 <div id="container"> | 15 <div id="container"> |
22 <div class="item"> | 16 <div class="item"> |
23 <div style="height: 100px"></div> | 17 <div style="height: 100px"></div> |
24 </div> | 18 </div> |
25 <div class="item"> | 19 <div class="item"> |
26 <div style="height: 150px"></div> | 20 <div style="height: 150px"></div> |
27 </div> | 21 </div> |
28 </div> | 22 </div> |
OLD | NEW |