wpt / css / css-transforms / transform-background-008.html

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

/css/css-transforms/transform-background-008.html

<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Transform of Background Image (root element background and transform)</title>
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-rendering">
    <link rel="reviewer" title="Apple Inc." href="http://www.apple.com">
    <meta name="assert" content='This is exactly the same as
    transform-background-007.html, except that the background is specified directly on the
    root element instead of being specified on the body and propagating to the
    root.'>
    <meta name="flags" content="svg">
    <link rel="match" href="transform-root-bg-001-ref.html">
    <style>
      html {
        background: url(support/transform-triangle-left.svg);
        overflow: hidden;
        transform: rotate(90deg);
        transform-origin: 50px 50px;
      }
    </style>
  </head>
  <body>
  </body>
</html>

/css/css-transforms/transform-root-bg-001-ref.html

<!DOCTYPE html>
<html>
  <head>
    <title>CSS Reftest Reference</title>
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <style>
      html {
        background: url(support/transform-triangle-left.svg) top left;
      }
      body {
        /* The default 8px margin makes the background not line up exactly */
        margin: 0;
      }
    </style>
  </head>
  <body>
  </body>
</html>