tor-browser

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

stylesheet-media.html (415B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 <title>Test</title>
      4 <link rel=match href=stylesheet-media-ref.html>
      5 <style>
      6 body {
      7  color: green;
      8 }
      9 </style>
     10 <link rel=stylesheet id=link>
     11 <script>
     12 // This tests for a bug in Servo, where it would treat the media attribute as
     13 // if it was the href attribute.
     14 var link = document.getElementById("link");
     15 link.setAttribute("media", "all")
     16 </script>
     17 <p>This text should be green.