mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
27 lines
1003 B
HTML
27 lines
1003 B
HTML
<!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 (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.xht" 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> |