tor-browser

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

cascade-import-dynamic-005.xht (859B)


      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>Dynamic sheet deletion (&lt;style&gt;)</title>
      5   <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu"/>
      6   <link rel="reviewer" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html" />
      8   <link rel="match" href="../reference/ref-this-text-should-be-green.xht"/>
      9   <style type="text/css" id="style">
     10    body { color: blue }
     11   </style>
     12   <script type="text/javascript">
     13    document.getElementsByTagName("head")[0].removeChild(document.getElementById("style"));
     14   </script>
     15   <style type="text/css">
     16    body { color: red }
     17   </style>
     18  </head>
     19  <body style="color:green">
     20   <p>This text should be green.</p>
     21  </body>
     22 </html>