Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab

This commit is contained in:
James Graham
2015-03-27 09:18:12 +00:00
parent 1a81b18b9f
commit 2c9faf5363
91915 changed files with 5979820 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html><head>
<title>CSS Transforms Test: perspective property</title>
<link href="mailto:pancha0.0@gmail.com" rel="author" title="Francisca Gil">
<link href="http://www.apple.com" rel="reviewer" title="Apple Inc.">
<link href="http://www.w3.org/TR/css-transforms-1/#propdef-perspective-origin" rel="help">
<link href="http://www.w3.org/TR/css-transforms-1/#perspective-property" rel="help">
<link href="http://www.w3.org/TR/css-transforms-1/#transform-property" rel="help">
<link href="reference/perspective-origin-reftest.htm" rel="match">
<meta content="Asserts that origin 'x1' visually moves the objects '-x1*d/(d-1)' " name="assert">
<style type="text/css">
.container {
position: absolute;
width: 150px;
height: 150px;
top: 100px;
left: 100px;
perspective: 3px;
perspective-origin: 0px 50%;
}
.redSquare {
position: absolute;
top: 0px;
left: 0px;
width: 150px;
height: 150px;
background: red;
transform: translateZ(0px);
}
.greenSquare {
position: absolute;
top: 25px;
left: 0px;
width: 100px;
height: 100px;
background: green;
transform: translateZ(1px);
}
</style>
</head>
<body>
<p>The test passes if there is a green square and no red.</p>
<div class="container">
<div class="redSquare"></div>
<div class="greenSquare"></div>
</div>
</body></html>