OLD | NEW |
1 <script src="resources/text-based-repaint.js"></script> | 1 <script src="resources/text-based-repaint.js"></script> |
2 <script> | 2 <script> |
3 function repaintTest() | 3 function repaintTest() |
4 { | 4 { |
5 document.getElementById("target").style.display = "none"; | 5 document.getElementById("target").style.display = "none"; |
6 } | 6 } |
7 </script> | 7 </script> |
8 <body onload="runRepaintTest()"> | 8 <body onload="runRepaintAndPixelTest()"> |
9 <div style=" | 9 <div style=" |
10 width: 267px; | 10 width: 267px; |
11 height: 270px; | 11 height: 270px; |
12 border: solid black; | 12 border: solid black; |
13 background-image: url(../backgrounds/size/resources/bikes.bmp); | 13 background-image: url(../backgrounds/size/resources/bikes.bmp); |
14 -webkit-background-size: 500% 500%; | 14 -webkit-background-size: 500% 500%; |
15 position: relative; | 15 position: relative; |
16 "> | 16 "> |
17 <div id="target" style=" | 17 <div id="target" style=" |
18 width: 40px; | 18 width: 40px; |
19 height: 40px; | 19 height: 40px; |
20 position: absolute; | 20 position: absolute; |
21 bottom: 0; | 21 bottom: 0; |
22 right: 0; | 22 right: 0; |
23 "></div> | 23 "></div> |
24 </div> | 24 </div> |
25 </body> | 25 </body> |
OLD | NEW |