| OLD | NEW |
| 1 <!-- Based on fast/repaint/align-content-change.html --> | 1 <!-- Based on fast/repaint/align-content-change.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 "LayoutBlockFlow DIV class='item'", | |
| 7 "LayoutBlockFlow DIV", | |
| 8 "LayoutBlockFlow DIV class='item'", | |
| 9 "LayoutBlockFlow DIV", | |
| 10 ]; | |
| 11 function paintInvalidationTest() { | 5 function paintInvalidationTest() { |
| 12 document.getElementById('container').style.alignContent = 'stretch'; | 6 document.getElementById('container').style.alignContent = 'stretch'; |
| 13 } | 7 } |
| 14 onload = runPaintInvalidationTest; | 8 onload = runPaintInvalidationTest; |
| 15 </script> | 9 </script> |
| 16 <style> | 10 <style> |
| 17 body { | 11 body { |
| 18 margin: 0; | 12 margin: 0; |
| 19 } | 13 } |
| 20 #container { | 14 #container { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 33 </style> | 27 </style> |
| 34 <p style="height: 20px">Tests invalidation on align-content style change. Passes
if there is no red.</p> | 28 <p style="height: 20px">Tests invalidation on align-content style change. Passes
if there is no red.</p> |
| 35 <div id="container"> | 29 <div id="container"> |
| 36 <div class="item"> | 30 <div class="item"> |
| 37 <div style="height: 50px"></div> | 31 <div style="height: 50px"></div> |
| 38 </div> | 32 </div> |
| 39 <div class="item"> | 33 <div class="item"> |
| 40 <div style="height: 50px"></div> | 34 <div style="height: 50px"></div> |
| 41 </div> | 35 </div> |
| 42 </div> | 36 </div> |
| OLD | NEW |