summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/frames/nested-iframe-blit-on-scroll.html
blob: 6d4d30ef9c9322afb744d33d7a21b6cc09f42afa (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
<html>
<head>
  <style type="text/css">
    iframe {
        position: relative;
        z-index: 1;
        left: 10px;
        top: 10px;
        border: 1px solid black;
    }

    #overlap {
        position: absolute;
        width: 100px;
        height: 100px;
        z-index: 2;
        left: 10px;
        top: 100px;
        background-color: blue;
    }
    p {
        margin-top: 50px;
    }
  </style>
</head>
<body>
<div id="overlap"></div>
<iframe id="frame" src="resources/blit-on-scroll-subframe.html" scrolling="no"></iframe>
<p>The blue box should not get "smeared" when you scroll the inner iframe.</p>
</body>
</html>