| OLD | NEW |
| 1 <!-- Based on fast/repaint/background-misaligned.html --> | 1 <!-- Based on fast/repaint/background-misaligned.html --> |
| 2 <script src="resources/paint-invalidation-test.js"></script> | 2 <script src="resources/paint-invalidation-test.js"></script> |
| 3 <script> | 3 <script> |
| 4 window.expectedPaintInvalidationObjects = [ | |
| 5 "LayoutBlockFlow (positioned) DIV id='target'", | |
| 6 ]; | |
| 7 function paintInvalidationTest() | 4 function paintInvalidationTest() |
| 8 { | 5 { |
| 9 document.getElementById("target").style.display = "none"; | 6 document.getElementById("target").style.display = "none"; |
| 10 } | 7 } |
| 11 </script> | 8 </script> |
| 12 <body onload="runPaintInvalidationTest()"> | 9 <body onload="runPaintInvalidationTest()"> |
| 13 <div style=" | 10 <div style=" |
| 14 width: 267px; | 11 width: 267px; |
| 15 height: 270px; | 12 height: 270px; |
| 16 border: solid black; | 13 border: solid black; |
| 17 background-image: url(../../../fast/backgrounds/size/resources/bikes.bmp
); | 14 background-image: url(../../../fast/backgrounds/size/resources/bikes.bmp
); |
| 18 -webkit-background-size: 500% 500%; | 15 -webkit-background-size: 500% 500%; |
| 19 position: relative; | 16 position: relative; |
| 20 "> | 17 "> |
| 21 <div id="target" style=" | 18 <div id="target" style=" |
| 22 width: 40px; | 19 width: 40px; |
| 23 height: 40px; | 20 height: 40px; |
| 24 position: absolute; | 21 position: absolute; |
| 25 bottom: 0; | 22 bottom: 0; |
| 26 right: 0; | 23 right: 0; |
| 27 "></div> | 24 "></div> |
| 28 </div> | 25 </div> |
| 29 </body> | 26 </body> |
| OLD | NEW |