sgml-comments-002

Parsing of CDO/CDC in stylesheets

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html 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   <style type="text/css">
 9     <!--
10     .a { color: green; } -->
11     <!-- .b { color: green; }
12     --> --> --> .c { color: green; }
13     <!--
14   </style>
15  </head>
16  <body>
17   <p class="a">This line should be green.</p>
18   <p class="b">This line should be green.</p>
19   <p class="c">This line should be green.</p>
20  </body>
21 </html>