uri-012

Error handling of broken url() - balancing braces

WeasyPrint

This browser

Flags
invalid

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: Error handling of broken url() - balancing braces</title>
 5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 6   <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
 7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/parsing/uri/010.html" type="text/html">
 8   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#uri">
 9   <meta name="flags" content="invalid">
10   <style>
11    .control {
12         color: white;
13         border: none;
14    }
15    p {
16         color: red;
17         border: solid red;
18         background: red url( { test ); border: solid green; }
19    p {
20         color: green;
21      }
22   </style>
23  </head>
24  <body>
25   <p>This sentence should be green with a green border.</p>
26   <p class="control">FAIL if there is any red on this page.</p>
27  </body>
28 </html>