uri-015

Escaped url() functional notation

WeasyPrint

This browser

Assertion
Unquoted commas inside url() are valid.

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: Escaped url() functional notation</title>
 5   <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
 6   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#uri">
 7   <meta name="flags" content="">
 8   <meta name="assert" content="Unquoted commas inside url() are valid.">
 9   <style type="text/css">
10     p {
11       color: white;
12       background: red;
13       background: red U\r\4c ("support/swatch-green.png");
14     }
15   </style>
16  </head>
17  <body>
18   <p>This sentence must have a green background.</p>
19  </body>
20 </html>