blob: d40edf00a9f2b55ab9cf54aa15443240ba59f400 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): Sorting With Intersection</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">
<link rel="help" href="http://www.w3.org/TR/css-transforms-2/#3d-transform-rendering">
<meta name="assert" content="This tests that when two boxes intersect in a
simple fashion, they're rendered according to Newell's algorithm.">
<link rel="match" href="transform3d-sorting-006-ref.html">
</head>
<body>
<div style="transform-style: preserve-3d">
<div style="height: 100px; width: 100px; background: red;
transform: rotateX(45deg) rotateY(45deg)"></div>
<div style="height: 100px; width: 100px; background: green;
transform: translateY(-100px) rotateX(45deg) rotateY(-45deg)"></div>
</div>
</body>
</html>