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