tor-browser

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

HTMLLinkElement-disabled-alternate.html (770B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <title>CSS Test: alternate stylesheets can be disabled by HTMLLinkElement.disabled if they have the disabled attribute already</title>
      4 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
      5 <link rel="author" title="Mozilla" href="https://mozilla.org">
      6 <link rel="help" href="https://html.spec.whatwg.org/#attr-link-disabled">
      7 <link rel="match" href="HTMLLinkElement-disabled-alternate-ref.html">
      8 <link title="alt" rel="alternate stylesheet" href="data:text/css,html { background: green }" disabled onload="document.documentElement.className = ''">
      9 <script>
     10  onload = function() {
     11    const link = document.querySelector("link[rel='alternate stylesheet']");
     12    link.disabled = false;
     13  }
     14 </script>