summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/qt/qtplugin.html
blob: 631ce63fd552bc652785c100f956ef03b1e67d8e (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
<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>