3 <p>This tests to see if 'style.display' for an element can be set dynamically. See bug
820947.
</p>
7 testRunner
.dumpAsText();
9 document
.writeln("<div id=\"result\"> \r\n This test: FAILED </div>\r\n");
10 document
.writeln("<div id=\"announce:Top\">\r\n This text should be hidden </div>\r\n");
12 var announceTop
= document
.getElementById("announce:Top");
13 announceTop
.style
.display
= "none";
14 if ( announceTop
.style
.display
== "none" ) {
15 document
.getElementById("result").innerHTML
=' This test: PASSED!'