blob: e3e3926d028e440ca6d406bb0bc4b4647c5ea35f (
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
33
34
|
<!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): Fixed Background (transform on root)</title>
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor" />
<link href="http://www.w3.org/TR/css-transforms-1/#transform-rendering" rel="help" />
<meta content="This tests that a transform on the root
element *does* affect the rendering of fixed backgrounds on its
descendants." name="assert" />
<meta content="svg" name="flags" />
<link href="reference/transform-fixed-bg-ref.xht" rel="match" />
<style>
html {
transform: rotate(-90deg);
transform-origin: 100px 100px;
overflow: hidden;
}
body {
margin: 0;
}
div {
background: url(support/transform-triangle-up.svg) fixed;
width: 100px;
height: 100px;
position: relative;
left: 50px;
top: 50px;
}
</style>
</head>
<body>
<div></div>
</body></html>
|