https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 149c83d77d05dafea4a5a4dadf6670bfadc8e360 authored by moz-wptsync-bot on 16 March 2018, 13:38:52 UTC
Port XHR to WorkerRef,
Tip revision: 149c83d
transform-background-004.html
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Transform of Background Image (nested flip)</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-property">
    <link rel="reviewer" title="Dirk Schulze" href="mailto:dschulze@adobe.com"> <!-- 2012-04-17 -->
    <meta name="assert" content="Background images fall within the element's
    border box, so they need to be transformed along with it.  This file tests
    that a transform on the parent works correctly, not just on the element
    itself.">
    <meta name="flags" content="svg">
    <link rel="match" href="transform-background-ref-1.html">
    <style>
      div {
        width: 200px;
        height: 100px;
      }
      body > div {
        transform: scale(-1);
      }
      body > div > div {
        background: url(support/transform-triangle-down.svg);
      }
    </style>
  </head>
  <body>
    <div>
      <div></div>
    </div>
  </body>
</html>
back to top