uri-017

Unclosed URI Token at EOF (in declaration)

WeasyPrint

This browser

Flags
image, invalid
Assertion
User agents must close open URI constructs and style rules at the end of the style sheet.

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: Unclosed URI Token at EOF (in declaration)</title>
 5   <link rel="author" title="Bert Bos" href="mailto:bert@w3.org">
 6   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors">
 7   <meta name="flags" content="invalid image">
 8   <meta name="assert" content="User agents must close open URI constructs and style rules at the end of the style sheet.">
 9   <style type="text/css">
10     .import { color: red; }
11     .one { background: url("support/swatch-red.png"); color: white;
12            background: url("support/swatch-green.png</style>
13   <style type="text/css">
14     .two { background: url(support/swatch-red.png); color: white;
15            background: url(support/swatch-green.png</style>
16  </head>
17  <body>
18   <p class="one">This sentence must have a green background.</p>
19   <p class="two">This sentence must have a green background.</p>
20  </body>
21 </html>