Files
servo/tests/wpt/css-tests/css-transforms-1_dev/html/css3-transform-rotateY.htm
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

34 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Transforms Test: transform property with rotateY function</title>
<link href="mailto:codedancerhua@gmail.com" rel="author" title="Noah Lu">
<link href="http://www.w3.org/TR/css-transforms-1/#transform-property" rel="help">
<link href="http://www.w3.org/TR/css-transforms-1/#funcdef-rotate" rel="help">
<link href="reference/css3-transform-rotateY-ref.htm" rel="match">
<meta content="box width should be equal to projection width if transform rotateY applied" name="assert">
<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>