Files
servo/tests/wpt/css-tests/css-transforms-1_dev/html/background-attachment-fixed-inside-transform-1.htm
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

42 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Background: background-attachment: background-attachment:fixed inside a transform</title>
<link href="mailto:botond@mozilla.com" rel="author" title="Botond Ballo">
<link href="https://www.mozilla.org" rel="author" title="Mozilla">
<link href="https://www.w3.org/TR/css-transforms-1/#transform-rendering" rel="help">
<link href="reference/background-attachment-fixed-inside-transform-1-ref.htm" rel="match">
<meta content="Test checks whether background-attachment: 'fixed' inside a transform behaves like background-attachment: 'scroll'." name="assert">
<style>
body {
height: 4000px;
margin: 0;
}
#outer {
margin: 200px;
height: 700px;
width: 300px;
transform: rotate(45deg);
overflow: hidden;
}
#inner {
height: 700px;
background-image: radial-gradient(farthest-corner at center, blue, black);
background-size: 300px 300px;
background-position: 200px 200px;
background-color: lime;
background-repeat: no-repeat;
background-attachment: fixed;
}
</style>
</head>
<body>
<div id="outer">
<div id="inner">
</div>
</div>
</body></html>