wpt / css / css-transforms / transform3d-preserve3d-013.html

Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-transforms/transform3d-preserve3d-013.html

<!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-120;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>

/css/css-transforms/transform3d-preserve3d-013-ref.html

<!DOCTYPE html>
<html>
  <head>
    <title>CSS Reftest Reference</title>
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <!-- sqrt(2) == 0.70710678; 200/sqrt(2) == 141.421356.
    'transform' is needed on the outer div so the scrollbars are shrunk
    appropriately. -->
  </head>
  <body>
    <div style="overflow: scroll; transform: scaley(0.70710678);
      transform-origin: top">
      <div style="height: 200px">
        <div style="height: 141.421356px; width: 100px; background: lime">
        </div>
    </div></div>
  </body>
</html>