summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/parser/xhtml-html-comment-in-style-block.xhtml
blob: 67898c7724e161ec2475ab731f3fa12e42da2ad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
<style type="text/css">
.pass {display: block}
.fail {display: none}
<!--
.pass {display: none}
.fail {display: block}
-->
</style>
</head>
<body>
<p>This page tests that style written inside an HTML comment is not applied. See:
http://test.w3.org/html/tests/approved/xhtml5/html_style_in_comment.xhtml
</p>
<span class="pass">PASS</span>
<span class="fail">FAIL</span>
</body>
</html>