Use testRunner instead of layoutTestController in fast/doctypes, dom, dynamic, encodi...
[WebKit-https.git] / LayoutTests / fast / dom / noscript-style.html
1 <head>
2 <script>
3 if (window.testRunner)
4     testRunner.dumpAsText();
5 </script>
6 <style>
7 noscript { display:block; position:absolute; width:100px; height:100px }
8 </style>
9 <body>
10 Test that noscript element is in DOM but can't be styled.<br>
11 <noscript>abc</noscript>
12 <script>
13 var noscript = document.getElementsByTagName('noscript')[0];
14 document.write((noscript.offsetWidth == 0 ? "PASS" : "FAIL"));
15 </script>