OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title></title> | 4 <title></title> |
5 <script src="resources/text-based-repaint.js"></script> | 5 <script src="resources/text-based-repaint.js"></script> |
6 <script> | 6 <script> |
7 function repaintTest() | 7 function repaintTest() |
8 { | 8 { |
9 document.body.style.backgroundImage='url(resources/apple.jpg)'; | 9 document.body.style.backgroundImage='url(resources/apple.jpg)'; |
10 } | 10 } |
11 </script> | 11 </script> |
12 <style> | 12 <style> |
13 HTML { background: white; } | 13 HTML { background: white; } |
14 BODY { background: white no-repeat top center; } | 14 BODY { background: white no-repeat top center; } |
15 HTML, BODY { padding-top: 232px; } | 15 HTML, BODY { padding-top: 232px; } |
16 </style> | 16 </style> |
17 </head> | 17 </head> |
18 <body onload="runRepaintTest()"> | 18 <body onload="runRepaintTest()"> |
19 <p> | 19 <p> |
20 Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=1515
7">http://bugs.webkit.org/show_bug.cgi?id=15157</a> | 20 Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=1515
7">http://bugs.webkit.org/show_bug.cgi?id=15157</a> |
21 Image defined in background-position: top center gets unexpectedly trunc
ated</i>. | 21 Image defined in background-position: top center gets unexpectedly trunc
ated</i>. |
22 </p> | 22 </p> |
23 </body> | 23 </body> |
24 </html> | 24 </html> |
OLD | NEW |