Updating test case

This commit is contained in:
law%netscape.com 1999-03-06 00:44:32 +00:00
parent 6e617524fb
commit 29f33dc0fa

View File

@ -9,7 +9,7 @@
<html:script>
var mode = "undetermined";
function kickProgressMeter() {
var meter = document.getElementByID("meter");
var meter = document.getElementById("Browser:LoadingProgress");
dump( "Meter was mode=" + meter.getAttribute("mode") + " value=" + meter.getAttribute("value") + "\n" );
if ( mode == "undetermined" ) {
mode = "normal";
@ -27,20 +27,20 @@
<broadcaster id="Browser:LoadingProgress"/>
<html:center>
<html:table html:border html:cols=3 html:width="99%" html:style="color-background:rgb(192,192,192);">
<html:table border cols=3 width="99%" style="color-background:rgb(192,192,192);">
<html:tr>
<html:td html:WIDTH="3%" html:nowrap html:style="border: 1px inset rgb(192,192,192);">
<html:button html:onClick="kickProgressMeter()" html:height="12">
<html:td width="3%" nowrap style="border: 1px inset rgb(192,192,192);">
<html:button onclick="kickProgressMeter()" height="12">
X
</html:button>
</html:td>
<html:td html:WIDTH="15%" html:nowrap html:style="border: 1px inset rgb(192,192,192);">
<html:td width="15%" nowrap style="border: 1px inset rgb(192,192,192);">
<progressmeter id="meter" mode="normal" value="61">
<observes element="Browser:LoadingProgress" attribute="value" />
<observes element="Browser:LoadingProgress" attribute="mode" />
</progressmeter>
</html:td>
<html:td html:WIDTH="82%" html:nowrap html:style="border: 1px inset rgb(192,192,192);">
<html:td width="82%" nowrap style="border: 1px inset rgb(192,192,192);">
Document: Done (even a stopped clock is right twice a day)
</html:td>
</html:tr>