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