escapes-009

Characters and case: Escaping a character inside a keyword

WeasyPrint

This browser

Flags
invalid
Assertion
Browsers should be able to ignore the keyword

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3  <head>
 4   <title>CSS Test: Characters and case: Escaping a character inside a keyword</title>
 5   <link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com">
 6   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#characters">
 7   <meta name="flags" content="invalid">
 8   <meta name="assert" content="Browsers should be able to ignore the keyword">
 9 <style type="text/css">
10 p {color: green}
11 p {color: r\ed}
12 </style>
13  </head>
14  <body>
15 <p>This text should be green, not red.</p>
16  </body>
17 </html>