gecko-dev/layout/reftests/transform-3d/1157984-1.html
Kearwood (Kip) Gilbert 0d5944c188 Bug 1157984 - Part 5: Test,r=vlad
- Implemented a reftest to verify that the transformed element is clipped
  against the w=0 plane without disappearing

--HG--
extra : rebase_source : 26ad8c58b95c0af384a14b2c70fffe80190b8a17
2015-08-26 16:39:52 -07:00

33 lines
615 B
HTML

<!DOCTYPE html>
<html lang="en-US" reftest-zoom="1.0">
<head>
<title>Testcase, bug 1157984</title>
<meta charset=UTF-8>
<style type="text/css">
#outer {
position:absolute;
width: 60px;
height: 60px;
perspective-origin: 300px 300px;
perspective: 300px;
overflow: hidden;
}
#inner {
position:absolute;
background-color: green;
width: 600px;
height: 600px;
transform-origin: 300px 300px 0px;
transform: translateZ(300px) rotateY(-2rad) translateZ(300px);
}
</style>
</head>
<body>
<div id="outer">
<div id="inner"></div>
</div>
</body>
</html>