uri-017.xht (1086B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 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 <link rel="match" href="uri-017-ref.xht"/> 8 <meta name="flags" content="invalid image" /> 9 <meta name="assert" content="User agents must close open URI constructs and style rules at the end of the style sheet." /> 10 <style type="text/css"> 11 .import { color: red; } 12 .one { background: url("support/swatch-red.png"); color: white; 13 background: url("support/swatch-green.png</style> 14 <style type="text/css"> 15 .two { background: url(support/swatch-red.png); color: white; 16 background: url(support/swatch-green.png</style> 17 </head> 18 <body> 19 <p class="one">This sentence must have a green background.</p> 20 <p class="two">This sentence must have a green background.</p> 21 </body> 22 </html>