tor-browser

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

offset-path-string-003.html (782B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>CSS Motion Path: path(string) with zero length path</title>
      5    <link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-path-property">
      6    <link rel="match" href="offset-path-string-ref.html">
      7    <meta name="assert" content="This tests that path(<string>) generates a
      8                                 proper rotation and translation when the path
      9                                 is zero length.">
     10    <style>
     11      #target {
     12        position: absolute;
     13        left: 50px;
     14        top: 80px;
     15        width: 200px;
     16        height: 300px;
     17        background-color: lime;
     18        transform-origin: 0px 0px;
     19        offset-path: path('M 50 40');
     20      }
     21    </style>
     22  </head>
     23  <body>
     24    <div id="target"></div>
     25  </body>
     26 </html>