tor-browser

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

offset-distance-parsing-valid.html (812B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>Motion Path Module Level 1: parsing offset-distance with valid values</title>
      6 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.org">
      7 <link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-distance-property">
      8 <meta name="assert" content="offset-distance supports the full grammar '<length-percentage>'.">
      9 <script src="/resources/testharness.js"></script>
     10 <script src="/resources/testharnessreport.js"></script>
     11 <script src="/css/support/parsing-testcommon.js"></script>
     12 </head>
     13 <body>
     14 <script>
     15 test_valid_value("offset-distance", "10px");
     16 test_valid_value("offset-distance", "20%");
     17 test_valid_value("offset-distance", "calc(40% + 30px)");
     18 test_valid_value("offset-distance", "0", "0px");
     19 </script>
     20 </body>
     21 </html>