tor-browser

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

150-import.html (580B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <title>Stylesheet in BODY with @import blocking scripts</title>
      5  <script src="/resources/testharness.js"></script>
      6  <script src="/resources/testharnessreport.js"></script>
      7  <script src="testlib/testlib.js"></script>
      8 </head>
      9 <body>
     10  <div id="test">Test</div>
     11  <!-- this stylesheet blocks scripts -->
     12  <link rel="stylesheet" href="css/import.css?pipe=trickle(d2)">
     13  <script>
     14    test(function() {
     15      assert_equals(getComputedStyle(document.getElementById("test")).position,
     16                    "fixed");
     17    });
     18  </script>
     19 </body>
     20 </html>