mirror of
https://github.com/servo/servo
synced 2026-05-14 10:56:44 +02:00
21 lines
941 B
HTML
21 lines
941 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>CSS Test (Transforms): Two rotatex(), No Preserve-3D</title>
|
|
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
|
|
<link rel="help" href="http://www.w3.org/TR/css-transforms-2/#transform-style-property">
|
|
<meta name="assert" content="rotatex(45deg) or rotatex(-45deg), by itself,
|
|
should both just scale down the element by a factor of sqrt(2) (and perhaps
|
|
shift it, depending on 'transform-origin'). Without 'transform-style:
|
|
preserve-3d', the rotations on parent and child shouldn't cancel, so its
|
|
height should be halved with no other effect.">
|
|
<link rel="match" href="transform-lime-square-ref.html">
|
|
</head>
|
|
<body>
|
|
<div style="transform: rotatex(45deg); transform-origin: top">
|
|
<div style="transform: rotatex(-45deg); transform-origin: top;
|
|
height: 200px; width: 100px; background: lime">
|
|
</div></div>
|
|
</body>
|
|
</html>
|