blob: 1165c421930ff869b74201f52e95688f990f210d [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
#container {
-webkit-transform: translateZ(0px);
-webkit-perspective: 400;
}
#revealed {
position: absolute;
left: 100px;
height: 100px;
width: 100px;
background-color: green;
}
#animated {
position: absolute;
left: 100px;
height: 100px;
width: 100px;
background-color: red;
-webkit-transform: translateZ(200px) translateX(-200px);
-webkit-transform-style: preserve-3d;
}
</style>
</head>
<body>
<div id="container">
<div id="revealed"></div>
<div id="animated"></div>
</div>
<div id="result">
PASS - Computed final position is correct.
</div>
</body>
</html>