tor-browser

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

doc_author-sheet.html (821B)


      1 <!-- Any copyright is dedicated to the Public Domain.
      2     http://creativecommons.org/publicdomain/zero/1.0/ -->
      3 <html>
      4 <head>
      5  <title>authored sheet test</title>
      6 
      7  <style>
      8  pre a {
      9    color: orange;
     10  }
     11  </style>
     12 
     13  <script>
     14    "use strict";
     15    var style = "data:text/css,a { background-color: seagreen; }";
     16    var uri = SpecialPowers.Services.io.newURI(style);
     17    var windowUtils = SpecialPowers.getDOMWindowUtils(window);
     18    windowUtils.loadSheet(uri, windowUtils.AUTHOR_SHEET);
     19  </script>
     20 
     21 </head>
     22 <body>
     23  <input type=text placeholder=test></input>
     24  <input type=color></input>
     25  <input type=range></input>
     26  <input type=number></input>
     27  <progress></progress>
     28  <blockquote type=cite>
     29    <pre _moz_quote=true>
     30      inspect <a href="foo">user agent</a> styles
     31    </pre>
     32  </blockquote>
     33 </body>
     34 </html>