tor-browser

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

host-is-featureless.html (507B)


      1 <!DOCTYPE html>
      2 <title>CSS Scoping: Shadow host is featureless</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-scoping/#host-element-in-tree">
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <div id="host">
      7  <template shadowrootmode="open">
      8    <style>
      9      div {
     10        --x:FAIL;
     11      }
     12    </style>
     13  </template>
     14 </div>
     15 <script>
     16  test(() => {
     17    assert_equals(getComputedStyle(host).getPropertyValue('--x'), '');
     18  });
     19 </script>