summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/bugzilla-6388.html
blob: 00906e689089a765cbf37d1233d6cd7939814f7c (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
26
27
28
29
30
31
32
33
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
    <script src="resources/text-based-repaint.js" type="text/javascript"></script>
    <script type="text/javascript">
       function repaintTest()
       {
           document.getElementById('outside').style.left = '-100px';
       }
    </script>
</head>
<body onload="runRepaintTest();">
<p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=6388">Bugzilla bug 6388</a> REGRESSION: Incomplete repaint when dragging the map on Google maps</p>

<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b> 
The blue square will change to green.
</p>

<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>  
The blue square will NOT change to green.
</p>

<div style="width: 100px; height: 100px; overflow: hidden; position: relative">
    <div id="outside" style="position:absolute; width: 0; height: 0;">
        <div style="width: 200px; height: 100px; position: absolute; background: green;">
            <div style="width: 100px; height: 100px; background: blue;"></div>
        </div>
    </div>
</div>
<br>
</body>
</html>