blob: 4f11dbab343afab2d727d524b66d3eddc17ab096 [file] [log] [blame]
<head>
<script>
if (window.layoutTestController)
layoutTestController.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>