| OLD | NEW |
| 1 <!-- Based on fast/repaint/align-content-distribution-change-grid.html --> | 1 <!-- Based on fast/repaint/align-content-distribution-change-grid.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 "LayoutGrid DIV id='container'", | |
| 7 "LayoutBlockFlow DIV class='item'", | |
| 8 "LayoutBlockFlow DIV", | |
| 9 "LayoutBlockFlow DIV class='item'", | |
| 10 "LayoutBlockFlow DIV", | |
| 11 "LayoutBlockFlow DIV class='item'", | |
| 12 "LayoutBlockFlow DIV", | |
| 13 ]; | |
| 14 function paintInvalidationTest() { | 5 function paintInvalidationTest() { |
| 15 document.getElementById('container').style.alignContent = 'stretch'; | 6 document.getElementById('container').style.alignContent = 'stretch'; |
| 16 } | 7 } |
| 17 onload = runPaintInvalidationTest; | 8 onload = runPaintInvalidationTest; |
| 18 </script> | 9 </script> |
| 19 <style> | 10 <style> |
| 20 body { | 11 body { |
| 21 margin: 0; | 12 margin: 0; |
| 22 } | 13 } |
| 23 #container { | 14 #container { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 39 <div class="item"> | 30 <div class="item"> |
| 40 <div style="height: 50px"></div> | 31 <div style="height: 50px"></div> |
| 41 </div> | 32 </div> |
| 42 <div class="item"> | 33 <div class="item"> |
| 43 <div style="height: 50px"></div> | 34 <div style="height: 50px"></div> |
| 44 </div> | 35 </div> |
| 45 <div class="item"> | 36 <div class="item"> |
| 46 <div style="height: 50px"></div> | 37 <div style="height: 50px"></div> |
| 47 </div> | 38 </div> |
| 48 </div> | 39 </div> |
| OLD | NEW |