Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-transforms/transform3d-preserve3d-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): Simple Preserve-3D</title>
<link rel="author" title="Matt Woodrow" href="mailto:mwoodrow@mozilla.com">
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<link rel="stylesheet" href="/fonts/ahem.css">
<meta name="assert" content="This tests that if preserve-3d is specified,
four 45deg rotations equal one 180deg rotation.">
<link rel="match" href="transform3d-preserve3d-001-ref.html">
<style>
div {
font: 25px/1 Ahem;
}
</style>
</head>
<body>
<div style="transform: rotatex(45deg); transform-style: preserve-3d;">
<div style="transform: rotatex(45deg); transform-style: preserve-3d;">
<div style="transform: rotatex(45deg); transform-style: preserve-3d;">
<div style="transform: rotatex(45deg); width: 100px; height: 100px;">
XXpp
</div>
</div>
</div>
</div>
</body>
</html>