uri-016.xht (1576B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <title>CSS Test: Error handling of broken url() with open /*</title> 6 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 7 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/> 8 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/parsing/uri/007.html"/> 9 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#uri" /> 10 <link rel="match" href="uri-016-ref.xht"/> 11 <meta name="assert" content="Comments are just regular tokens inside 12 unquoted URLs."/> 13 <style type="text/css"> 14 * { color: red; } 15 .one { background: red url(test/* test); color: green; } 16 .two { background: red; background: white url( test/*test ); color: white; } 17 .three { background: xtest url( test/*test ); color: white; } 18 19 .four { background: red url(/* test); color: green; } 20 .five { background: red; background: white url( /*test ); color: white; } 21 .six { background: xtest url( /*test ); color: white; } 22 </style> 23 </head> 24 <body> 25 <p class="one">This sentence must be green and there must be no red.</p> 26 <p class="two">There must be no red on this page.</p> 27 <p class="three">There must be no red on this page.</p> 28 <p class="four">This sentence must be green and there must be no red.</p> 29 <p class="five">There must be no red on this page.</p> 30 <p class="six">There must be no red on this page.</p> 31 </body> 32 </html>