<html>
<head>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
<style type="text/css">
.pass {display: none}
.fail {display: block}
<!--
.pass {display: block}
.fail {display: none}
-->
</style>
</head>
<body>
<p>This page tests that style written inside an HTML comment is applied.
</p>
<span class="pass">PASS</span>
<span class="fail">FAIL</span>
</body>
</html>
