| OLD | NEW |
| 1 <!-- Based on fast/repaint/align-items-overflow-change.html --> | 1 <!-- Based on fast/repaint/align-items-overflow-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", | |
| 7 "LayoutBlockFlow DIV class='item1'", | |
| 8 "LayoutBlockFlow DIV", | |
| 9 "LayoutBlockFlow DIV class='item2'", | |
| 10 "LayoutGrid DIV id='container'", | |
| 11 "LayoutBlockFlow BODY", | |
| 12 "LayoutGrid DIV id='container'", | |
| 13 "LayoutBlockFlow DIV class='item1'", | |
| 14 "LayoutBlockFlow DIV", | |
| 15 "LayoutBlockFlow DIV class='item2'", | |
| 16 "LayoutBlockFlow DIV", | |
| 17 ]; | |
| 18 function paintInvalidationTest() { | 5 function paintInvalidationTest() { |
| 19 document.getElementById('container').style.alignItems = 'end safe'; | 6 document.getElementById('container').style.alignItems = 'end safe'; |
| 20 } | 7 } |
| 21 onload = runPaintInvalidationTest; | 8 onload = runPaintInvalidationTest; |
| 22 </script> | 9 </script> |
| 23 <style> | 10 <style> |
| 24 body { | 11 body { |
| 25 margin: 0; | 12 margin: 0; |
| 26 } | 13 } |
| 27 #container { | 14 #container { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 45 </style> | 32 </style> |
| 46 <p style="height: 20px">Tests invalidation on align-items style change (just ove
rflow). Passes if there is no red.</p> | 33 <p style="height: 20px">Tests invalidation on align-items style change (just ove
rflow). Passes if there is no red.</p> |
| 47 <div id="container"> | 34 <div id="container"> |
| 48 <div class="item1"> | 35 <div class="item1"> |
| 49 <div style="height: 200px"></div> | 36 <div style="height: 200px"></div> |
| 50 </div> | 37 </div> |
| 51 <div class="item2"> | 38 <div class="item2"> |
| 52 <div style="height: 100px"></div> | 39 <div style="height: 100px"></div> |
| 53 </div> | 40 </div> |
| 54 </div> | 41 </div> |
| OLD | NEW |