mirror of
https://github.com/servo/servo
synced 2026-05-12 01:46:28 +02:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
34 lines
1.0 KiB
HTML
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> |