summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/body-background-image.html
blob: 07e00efda345ad6f5905c767877e445a05f17e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
    <title></title>
    <script src="resources/text-based-repaint.js"></script>
    <script>
        function repaintTest()
        {
            document.body.style.backgroundImage='url(resources/apple.jpg)';
        }
    </script>
    <style>
        HTML { background: white; }
        BODY { background: white no-repeat top center; }
        HTML, BODY { padding-top: 232px; }
    </style>
</head>
<body onload="runRepaintTest()">
    <p>
        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>
        Image defined in background-position: top center gets unexpectedly truncated</i>.
    </p>
</body>
</html>