escapes-010

Unicode-escaped Braces

WeasyPrint

This browser

Flags
invalid
Assertion
Unicode escapes cannot substitute for '{' or '}' in CSS syntax.

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: Unicode-escaped Braces</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="Unicode escapes cannot substitute for '{' or '}' in CSS syntax.">
 9 <style type="text/css">
10 
11 p { color: green }
12 
13 p \7B color: red \7D
14 </style>
15  </head>
16  <body>
17 <p>This text should be green, not red.</p>
18  </body>
19 </html>