| OLD | NEW |
| 1 <!-- Based on fast/repaint/background-resize-width.html --> | 1 <!-- Based on fast/repaint/background-resize-width.html --> |
| 2 <!DOCTYPE html> | 2 <!DOCTYPE html> |
| 3 <script src="resources/paint-invalidation-test.js" type="text/javascript"></scri
pt> | 3 <script src="resources/paint-invalidation-test.js" type="text/javascript"></scri
pt> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) | |
| 6 testRunner.dumpAsTextWithPixelResults(); | |
| 7 window.expectedPaintInvalidationObjects = [ | |
| 8 "LayoutBlockFlow (positioned) DIV id='container'", | |
| 9 "LayoutBlockFlow (positioned) DIV class='test image'", | |
| 10 "LayoutBlockFlow (positioned) DIV class='test image size-cover'", | |
| 11 "LayoutBlockFlow (positioned) DIV class='test image size-contain'", | |
| 12 "LayoutBlockFlow (positioned) DIV class='test image fixed-width'", | |
| 13 "LayoutBlockFlow (positioned) DIV class='test image percent-width'", | |
| 14 "LayoutBlockFlow (positioned) DIV class='test image left'", | |
| 15 "LayoutBlockFlow (positioned) DIV class='test image right'", | |
| 16 "LayoutBlockFlow (positioned) DIV class='test image center'", | |
| 17 "LayoutBlockFlow (positioned) DIV class='test image no-repeat'", | |
| 18 "LayoutBlockFlow (positioned) DIV class='test image repeat-space'", | |
| 19 "LayoutBlockFlow (positioned) DIV class='test image repeat-round'", | |
| 20 "LayoutBlockFlow (positioned) DIV class='test generated'", | |
| 21 "LayoutBlockFlow (positioned) DIV class='test generated cover'", | |
| 22 "LayoutBlockFlow (positioned) DIV class='test generated contain'", | |
| 23 "LayoutBlockFlow (positioned) DIV class='test generated fixed-width'", | |
| 24 "LayoutBlockFlow (positioned) DIV class='test generated percent-width'", | |
| 25 "LayoutBlockFlow (positioned) DIV class='test generated left'", | |
| 26 "LayoutBlockFlow (positioned) DIV class='test generated right'", | |
| 27 "LayoutBlockFlow (positioned) DIV class='test generated center'", | |
| 28 "LayoutBlockFlow (positioned) DIV class='test generated no-repeat'", | |
| 29 "LayoutBlockFlow (positioned) DIV class='test generated repeat-space'", | |
| 30 "LayoutBlockFlow (positioned) DIV class='test generated repeat-round'", | |
| 31 ]; | |
| 32 function paintInvalidationTest() | 5 function paintInvalidationTest() |
| 33 { | 6 { |
| 34 document.getElementById('container').style.width = '550px'; | 7 document.getElementById('container').style.width = '550px'; |
| 35 } | 8 } |
| 36 window.onload = runPaintInvalidationTest; | 9 window.onload = runPaintInvalidationTest; |
| 37 </script> | 10 </script> |
| 38 <style> | 11 <style> |
| 39 #container { | 12 #container { |
| 40 position: absolute; | 13 position: absolute; |
| 41 width: 600px; | 14 width: 600px; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 <div class="test generated contain"></div> | 86 <div class="test generated contain"></div> |
| 114 <div class="test generated fixed-width"></div> | 87 <div class="test generated fixed-width"></div> |
| 115 <div class="test generated percent-width"></div> | 88 <div class="test generated percent-width"></div> |
| 116 <div class="test generated left"></div> | 89 <div class="test generated left"></div> |
| 117 <div class="test generated right"></div> | 90 <div class="test generated right"></div> |
| 118 <div class="test generated center"></div> | 91 <div class="test generated center"></div> |
| 119 <div class="test generated no-repeat"></div> | 92 <div class="test generated no-repeat"></div> |
| 120 <div class="test generated repeat-space"></div> | 93 <div class="test generated repeat-space"></div> |
| 121 <div class="test generated repeat-round"></div> | 94 <div class="test generated repeat-round"></div> |
| 122 </div> | 95 </div> |
| OLD | NEW |