Skip media source tests since the feature is not enabled on Windows.
[WebKit-https.git] / LayoutTests / fast / forms / style-display-none.html
1 <html>
2 <body>
3  <p>This tests to see if 'style.display' for an element can be set dynamically.  See bug 820947. </p>
4
5 <script>
6 if (window.testRunner)
7     testRunner.dumpAsText();
8
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");
11
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!'
16 }
17
18 </script>
19
20 </body>
21 </html>