summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/qt/qtplugin-scrolling.html
blob: 85038326f8d1ee01150f00d45b67113b66100284 (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
<html>
<head>
<style>
    #spacer {
        width: 100%;
        height: 1000px;
        background-color: yellow;
    }
</style>
</head>
<body>

<p>
    Scroll the page, ensure that the two labels move nicely along with the rest of the document.
</p>

<div>
<object type="application/x-qt-plugin" classid="alien_QLabel" name="label1" height="30"></object>
</div>

<div>
<object type="application/x-qt-plugin" classid="QLabel" name="label2" height="30"></object>
</div>

<div id="spacer"><p>&nbsp;</p></div>

<script>
document.label1.setText("Label one");
document.label2.setText("Label two");
</script>
</body>
</html>