summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/syntax/sgml-comments-000.xht
blob: 6cdf5a11c30b95b1fcd872fac974abf626d64232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: SGML comments</title>
  <link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#comments" />
  <link rel="match" href="../reference/ref-this-text-should-be-green.xht"/>
  <meta name="assert" content="UAs must ignore SGML comment delimiters between statements."/>
<style type="text/css"><![CDATA[
p {color: red}
<!--
p {color: green}
-->
]]></style>
 </head>
 <body>

<p>This text should be green.</p>

 </body>
</html>