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