tor-browser

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

anchor-scope-computed.html (940B)


      1 <!DOCTYPE html>
      2 <title>CSS Anchor Positioning Test: Computed anchor-scope</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#anchor-scope">
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <script src="/css/support/computed-testcommon.js"></script>
      7 <script src="/css/support/inheritance-testcommon.js"></script>
      8 <div id="container">
      9  <div id="target"></div>
     10 </div>
     11 <script>
     12  test_computed_value("anchor-scope", "none");
     13  test_computed_value("anchor-scope", "initial", "none");
     14  test_computed_value("anchor-scope", "all");
     15  test_computed_value("anchor-scope", "--a");
     16  test_computed_value("anchor-scope", "--a, --b");
     17  test_computed_value("anchor-scope", "--a, --b, --c");
     18  test_computed_value('anchor-scope', '--foo, --bar');
     19  test_computed_value('anchor-scope', '--bar, --foo');
     20 
     21  assert_not_inherited("anchor-scope", "none", "all");
     22 </script>