Files
servo/tests/wpt/css-tests/css-transforms-1_dev/html/transform-compound-001.htm

42 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Test (Transforms): Compound Transforms</title>
<link href="mailto:keith@keithschwarz.com" rel="author" title="Keith Schwarz">
<link href="mailto:robert@ocallahan.org" rel="author" title="Robert O'Callahan">
<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="Tests that applying multiple transforms to an
element is the same as applying the transforms in the same order to nested
elements." name="assert">
<link href="reference/transform-compound-ref.htm" rel="match">
<link href="reference/transform-compound-notref-1.htm" rel="mismatch">
<link href="reference/transform-compound-notref-2.htm" rel="mismatch">
<style>
body {
overflow: hidden;
}
div {
transform-origin: top left;
}
body > div {
position: relative;
left: 200px;
top: 0;
}
body > div > div {
background-color: gold;
width: 200px;
height: 100px;
border: 1px solid black;
transform: translate(100px) scale(2) rotate(90deg) skewX(15deg);
}
</style>
</head>
<body>
<div>
<div>
</div>
</div>
</body></html>