tor-browser

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

style-attr-urls-002.xht (1156B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: URLs in style attributes (with &lt;base&gt;)</title>
      5   <base href="support/"/>
      6   <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
      7   <link rel="reviewer" title="Arron Eicholz" href="mailto:Arron.Eicholz@microsoft.com"/>
      8   <link rel="match" href="reference/ref-green-on-green.xht"/>
      9   <link rel="help" href="http://www.w3.org/TR/css-style-attr/#interpret"/>
     10   <link rel="help" href="http://www.w3.org/TR/html5/the-base-element.html#the-base-element"/>
     11   <meta http-equiv="Content-Style-Type" content="text/css" />
     12   <meta name="flags" content="image" />
     13   <meta name="assert" content="In the presence of &lt;base&gt; URL manipulation, URLs in style attributes are relative to the specified base."/>
     14   <style type="text/css"><![CDATA[
     15     p { background: red; color: green; }
     16   ]]></style>
     17  </head>
     18  <body>
     19   <p style="background-image: url(swatch-lime.png)">
     20     This sentence must be green on a green background.</p>
     21  </body>
     22 </html>