tor-browser

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

unknown-env-names-override-previous.tentative.html (584B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <link rel="help" href="https://drafts.csswg.org/css-env-1/">
      5    <title>Test unknown env() names will override previous values</title>
      6    <script src="/resources/testharness.js"></script>
      7    <script src="/resources/testharnessreport.js"></script>
      8  </head>
      9  <body style="background-color: green; background-color: env(unknown);">
     10    <script>
     11    test(() => {
     12      const style = window.getComputedStyle(document.body);
     13      assert_equals(style.getPropertyValue("background-color"), "rgba(0, 0, 0, 0)");
     14    });
     15    </script>
     16  </body>
     17 </html>