tor-browser

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

anchor-center-001.html (961B)


      1 <!DOCTYPE html>
      2 <title>Tests the anchor-center keyword is parsed and computed as specified</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#anchor-center">
      4 <link rel="author" href="mailto:xiaochengh@chromium.org">
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <script src="/css/support/parsing-testcommon.js"></script>
      8 <script src="/css/support/computed-testcommon.js"></script>
      9 
     10 <div id="container">
     11  <div id="target"></div>
     12 </div>
     13 
     14 <script>
     15 test_valid_value('align-self', 'anchor-center');
     16 test_valid_value('align-items', 'anchor-center');
     17 test_valid_value('justify-self', 'anchor-center');
     18 test_valid_value('justify-items', 'anchor-center');
     19 
     20 test_computed_value('align-self', 'anchor-center');
     21 test_computed_value('align-items', 'anchor-center');
     22 test_computed_value('justify-self', 'anchor-center');
     23 test_computed_value('justify-items', 'anchor-center');
     24 </script>