Files
servo/tests/wpt/css-tests/css-transforms-1_dev/html/transform3d-rotatex-perspective-003.htm

40 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Test (Transforms): 'perspective' and 'opacity'</title>
<link href="mailto:mwoodrow@mozilla.com" rel="author" title="Matt Woodrow">
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor">
<link href="http://www.w3.org/TR/css-transforms-1/#perspective-property" rel="help">
<meta content="This tests for a real-world implementation
bug: see <https://bugzilla.mozilla.org/show_bug.cgi?id=707563>. The only
difference between the test and reference is 'opacity: 0.9999', which should
not affect anything in the test." name="assert">
<link href="reference/transform3d-rotatex-perspective-ref.htm" rel="match">
<link href="reference/transform3d-rotatex-perspective-notref.htm" rel="mismatch">
<style>
#container {
position: relative;
height: 300px;
width: 300px;
margin: 50px 100px;
border: 2px solid blue;
perspective: 500px;
opacity: 0.9999;
}
#parent {
margin: 10px;
width: 280px;
height: 280px;
background-color: #844BCA;
transform: rotateY(40deg);
}
</style>
</head>
<body>
<div id="container">
<div id="parent"></div>
</div>
</body></html>