Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / body-background-image.html
blob07e00efda345ad6f5905c767877e445a05f17e16
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <html>
3 <head>
4 <title></title>
5 <script src="resources/text-based-repaint.js"></script>
6 <script>
7 function repaintTest()
9 document.body.style.backgroundImage='url(resources/apple.jpg)';
11 </script>
12 <style>
13 HTML { background: white; }
14 BODY { background: white no-repeat top center; }
15 HTML, BODY { padding-top: 232px; }
16 </style>
17 </head>
18 <body onload="runRepaintTest()">
19 <p>
20 Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=15157">http://bugs.webkit.org/show_bug.cgi?id=15157</a>
21 Image defined in background-position: top center gets unexpectedly truncated</i>.
22 </p>
23 </body>
24 </html>