Files
servo/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform-compound-001.xht

42 lines
1.5 KiB
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): 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.xht" rel="match" />
<link href="reference/transform-compound-notref-1.xht" rel="mismatch" />
<link href="reference/transform-compound-notref-2.xht" rel="mismatch" />
<style>
body {
overflow: hidden;
}
div {
transform-origin: top left;
}
body &gt; div {
position: relative;
left: 200px;
top: 0;
}
body &gt; div &gt; 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>