summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-background-006.html
blob: f8be43115263cb7a73858eba50f18f0291ca5ca6 (plain)
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
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Transform of Background Image (propagated body)</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">
    <meta name="assert" content="Background images fall within the element's
    border box, so they need to be transformed along with it.  In this case the
    transform is applied to the body element, but the root element's background
    is transparent, so the background is actually on the root element instead
    of the body.  Therefore, the transform must not affect the background.">
    <meta name="flags" content="svg">
    <link rel="match" href="transform-background-ref-2.html">
    <link rel="mismatch" href="transform-background-006-notref.html">
    <style>
      body {
        background: url(support/transform-triangle-up.svg);
        overflow: hidden;
        transform: rotate(90deg);
      }
    </style>
  </head>
  <body>
  </body>
</html>