uri-018

Unclosed URI Token at EOF (in @import)

WeasyPrint

This browser

Flags
image, invalid
Assertion
User agents must close open URI constructs and statements 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 @import)</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#parsing-errors">
 7   <meta name="flags" content="invalid image">
 8   <meta name="assert" content="User agents must close open URI constructs and statements at the end of the style sheet.">
 9   <style type="text/css">
10     @import url(support/import-green.css</style>
11     p { color: red; }
12  </head>
13  <body>
14   <p class="import">This sentence must be green.</p>
15  </body>
16 </html>