blob: ac7e9bff4e9522ea6b7f2df78400d2da5e66de50 [file] [log] [blame]
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<style>
noscript { display:block; position:absolute; width:100px; height:100px }
</style>
<body>
Test that noscript element is in DOM but can't be styled.<br>
<noscript>abc</noscript>
<script>
var noscript = document.getElementsByTagName('noscript')[0];
document.write((noscript.offsetWidth == 0 ? "PASS" : "FAIL"));
</script>