summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform3d-preserve3d-013.html
blob: 224a9e7c81e48709eb54592df064a8ecd6d01cdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Preserve-3D with 'overflow: scroll'</title>
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-2/#transform-style-property">
    <meta name="assert" content="This is identical to
    transform3d-preserve3d-008.html, except with 'overflow: scroll' instead of
    'hidden'.  (Note that the ref is nontrivial, because the scrollbar has to
    be scaled appropriately.)">
    <link rel="match" href="transform3d-preserve3d-013-ref.html">
    <meta name=fuzzy content="maxDifference=0-100;totalPixels=0-3422">
  </head>
  <body>
    <div style="transform: rotatex(45deg); transform-origin: top;
      transform-style: preserve-3d; overflow: scroll">
      <div style="transform: rotatex(-45deg); transform-origin: top;
        height: 200px; width: 100px; background: lime">
    </div></div>
  </body>
</html>