tor-browser

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

scale-transform-overlap.html (787B)


      1 <!DOCTYPE html>
      2 <head>
      3  <title>CSS Test (Transforms): Tests overlap testing + clipping + scale transforms + compositing.</title>
      4    <link rel="author" title="Chris Harrelson" href="mailto:chrishtr@chromium.org">
      5    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/">
      6    <link rel="match" href="scale-transform-overlap-ref.html">
      7 </head>
      8 <style>
      9  div {
     10    position: absolute;
     11    width: 50px;
     12    height: 50px;
     13    transform-origin: 0px 0px;
     14  }
     15 </style>
     16 <div style="width: 250px; height: 100px; overflow: hidden; transform: translate(-250px, 50px) scale(1.8, 1.8);">
     17  <div style="transform: translate(160px, 0px)">
     18    <div style="background: lightblue; will-change: transform"></div>
     19    <div style="background: green; left: 10px; top: 10px;"></div>
     20  </div>
     21 </div>