tor-browser

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

clip-path-rotated-will-change-transform.html (626B)


      1 <!DOCTYPE html>
      2 <title>Clip Path: should be correctly rotated by transform with will-change:transform</title>
      3 <link rel="help" href="http://www.w3.org/TR/css-masking-1/#the-clip-path">
      4 <link rel="match" href="clip-path-rotated-will-change-transform-ref.html">
      5 <style>div { width: 200px; height: 200px; position: absolute; }</style>
      6 <div style="transform: rotate(45deg); clip-path: inset(31px)">
      7  <div style="will-change: transform; background: red"></div>
      8 </div>
      9 <div style="transform: rotate(45deg); will-change: transform">
     10  <div style="top: 30px; left: 30px; width: 140px; height: 140px; background: green"></div>
     11 </div>