aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/xhtml1print/transform-background-004.xht
blob: c09d4268c1ec37360ba010af446a338f360477ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
    <title>CSS Test (Transforms): Transform of Background Image (nested flip)</title>
    <link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor" />
    <link href="http://www.w3.org/TR/css-transforms-1/#transform-property" rel="help" />
    <link href="mailto:dschulze@adobe.com" rel="reviewer" title="Dirk Schulze" /> <!-- 2012-04-17 --> 
    <meta 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." name="assert" />
    <meta content="svg" name="flags" />
    <link href="reference/transform-background-ref-1.xht" rel="match" />
    <style>
      div {
        width: 200px;
        height: 100px;
      }
      body &gt; div {
        transform: scale(-1);
      }
      body &gt; div &gt; div {
        background: url(support/transform-triangle-down.svg);
      }
    </style>
  </head>
  <body>
    <div>
      <div></div>
    </div>
  

</body></html>