WebCore/manual-tests/qt/qtplugin.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>
<body>
Image:<br/>
 <img src="qrc:/webkit/inspector/Images/largerResourcesButtonGlyph.png" width="80" height="80"/>
 <br/>

<!-- visible progressbar -->
<div>
QT progress bar:
<object type="application/x-qt-plugin" classid="QProgressBar" name="progressbar1" height=30></object>
</div>

<!-- should not be visible -->
<div style="visibility: hidden;">
You should not see this:
<object type="application/x-qt-plugin" classid="QProgressBar" name="progressbar2" height=30></object>
</div>

<script>
function display(){
 if (++document.progressbar1.value != 100)
setTimeout("display()", 50)
}
display();
</script>
</body>
</html>