sgml-comments-002.xht (893B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> 3 <head> 4 <title>CSS Test: Parsing of CDO/CDC in stylesheets</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/parsing/core-syntax/cdocdc/001.html" type="text/html"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#comments" /> 8 <link rel="match" href="sgml-comments-002-ref.xht"/> 9 <style type="text/css"><![CDATA[ 10 <!-- 11 .a { color: green; } --> 12 <!-- .b { color: green; } 13 --> --> --> .c { color: green; } 14 <!-- 15 ]]></style> 16 </head> 17 <body> 18 <p class="a">This text should be green.</p> 19 <p class="b">This text should be green.</p> 20 <p class="c">This text should be green.</p> 21 </body> 22 </html>