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