WebCore/manual-tests/qt/qtplugin-scrolling.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 09:02:29 +0300
changeset 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037

<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>