blob: 619c4891cd6a2c9980b647e5882ebcf9eb16c9db (
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
|
<!DOCTYPE html>
<html><head>
<title>CSS Test (Transforms): Fixed Background (with rotation)</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 is the same as transform-fixed-bg-001,
except that we also test that a rotation on a non-root element doesn't
affect fixed backgrounds." name="assert">
<meta content="svg" name="flags">
<link href="reference/transform-fixed-bg-ref.htm" rel="match">
<style>
body {
margin: 0;
}
div {
background: url(support/transform-triangle-left.svg) fixed;
width: 100px;
height: 100px;
transform: translate(50px, 50px) rotate(90deg);
}
</style>
</head>
<body>
<div></div>
</body></html>
|