tor-browser

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

offset-rotate-parsing-valid.html (1126B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>Motion Path Module Level 1: parsing offset-rotate 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-rotate-property">
      8 <meta name="assert" content="offset-rotate supports the full grammar '[ auto | reverse ] || <angle>'.">
      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-rotate", "auto");
     16 test_valid_value("offset-rotate", "reverse");
     17 test_valid_value("offset-rotate", "-400deg");
     18 test_valid_value("offset-rotate", "auto 5turn");
     19 // https://github.com/w3c/fxtf-drafts/issues/340
     20 test_valid_value("offset-rotate", "reverse 0rad", ["reverse 0rad", "reverse"]);
     21 test_valid_value("offset-rotate", "5turn auto", "auto 5turn");
     22 // https://github.com/w3c/fxtf-drafts/issues/340
     23 test_valid_value("offset-rotate", "0rad reverse", ["reverse 0rad", "reverse"]);
     24 </script>
     25 </body>
     26 </html>