escapes-013

Escaping and spaces with classes

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: Escaping and spaces with classes</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/escaping/003.html" type="text/html">
 7   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#rule-sets">
 8   <style type="text/css">
 9    .css\0031 p { color: yellow; background: red; }
10    .css\0032 p { color: white; background: green; }
11   </style>
12  </head>
13  <body>
14   <div class="css1"><p>This line should be unstyled.</p></div>
15   <p class="css2p">This line should be green.</p>
16  </body>
17 </html>