summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/background-misaligned.html
blob: 60e2b17b25f5538e65c8ea1d6b557c157cd69841 (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
25
<script src="resources/text-based-repaint.js"></script>
<script>
    function repaintTest()
    {
        document.getElementById("target").style.display = "none";
    }
</script>
<body onload="runRepaintTest()">
    <div style="
        width: 267px;
        height: 270px;
        border: solid black;
        background-image: url(../backgrounds/size/resources/bikes.bmp);
        -webkit-background-size: 500% 500%;
        position: relative;
    ">
        <div id="target" style="
            width: 40px;
            height: 40px;
            position: absolute;
            bottom: 0;
            right: 0;
        "></div>
    </div>
</body>