tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

escaped-url-001.xht (1254B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4  <head>
      5   <title>CSS Test: Escapes in a URI token</title>
      6 
      7   <link rel="help" href="http://www.w3.org/TR/CSS22/syndata.html#tokenization" />
      8   <link rel="help" href="http://www.w3.org/TR/CSS22/changes.html#s.4.1.1a" />
      9   <link rel="match" href="escaped-url-001-ref.xht" />
     10   <meta name="assert" content="URI   {U}{R}{L}\({w}{string}{w}\)|
     11  {U}{R}{L}\({w}([!#$%&amp;*-\[\]-~]|{nonascii}|{escape})*{w}\)" />
     12   <link rel="author" title="Bert Bos" href="mailto:bert@w3.org" />
     13 
     14   <style type="text/css">
     15     div {background: red; width: 5em; height: 1em}
     16     #div0 {background: url(support/1x1-green.png)}
     17     #div1 {background: \url(support/1x1-green.png)}
     18     #div2 {background: U\Rl(support/1x1-green.png)}
     19     #div3 {background: U\R\l(support/1x1-green.png)}
     20     #div4 {background: \55Rl(support/1x1-green.png)}
     21     #div5 {background: \000075 rl(support/1x1-green.png)}
     22   </style>
     23  </head>
     24 
     25  <body>
     26    <p>There should be no red.</p>
     27    <div id="div0"></div>
     28    <div id="div1"></div>
     29    <div id="div2"></div>
     30    <div id="div3"></div>
     31    <div id="div4"></div>
     32    <div id="div5"></div>
     33  </body>
     34 </html>