Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / noscript-style.html
blobac7e9bff4e9522ea6b7f2df78400d2da5e66de50
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>