https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 57a82af3537d05ffe7b022c53939e6fb54895c6c authored by Stephen McGruer on 04 April 2018, 19:41:56 UTC
Web Animations: Fix bug with Document::getAnimations
Tip revision: 57a82af
transform3d-preserve3d-008.html
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Preserve-3D with 'overflow: hidden'</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-006.html, except that it has 'transform-style:
    preserve-3d; overflow: hidden' specified on the parent element.
    'transform-style: preserve-3d' would normally make the result different,
    but 'overflow: hidden' overrides its effect and causes it to work the same
    as 'transform-style: flat'.">
    <link rel="match" href="transform-lime-square-ref.html">
  </head>
  <body>
    <div style="transform: rotatex(45deg); transform-origin: top;
      transform-style: preserve-3d; overflow: hidden">
      <div style="transform: rotatex(-45deg); transform-origin: top;
        height: 200px; width: 100px; background: lime">
    </div></div>
  </body>
</html>
back to top