mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
29 lines
1012 B
HTML
29 lines
1012 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 (no-op transform)</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 affects that adding a no-op transform to
|
|
an element with a fixed background doesn't affect rendering." 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;
|
|
position: relative;
|
|
left: 50px;
|
|
top: 50px;
|
|
transform: translate(0);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div></div>
|
|
|
|
|
|
</body></html> |