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/css3-transform-rotateY.html - WPT Dashboard Interop Dashboard
<!DOCTYPE HTML>
<html>
<head>
<title>CSS Transforms Test: transform property with rotateY function</title>
<link rel="author" title="Noah Lu" href="mailto:codedancerhua@gmail.com" />
<link rel="match" href="css3-transform-rotateY-ref.html"/>
<meta name="assert" content="box width should be equal to projection width if transform rotateY applied">
<style type="text/css">
div {
height: 100px;
position: absolute;
top: 80px;
}
.red {
background-color: red;
left: 80px;
width: 100px;
}
.green{
background-color: green;
left: 30px;
transform: rotateY(60deg);
width: 200px;
}
</style>
</head>
<body>
<p>The test passes if there is a green square and no red.</p>
<div class="red"></div>
<div class="green"></div>
</body>
</html>