mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
55 lines
1.1 KiB
HTML
55 lines
1.1 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
|
<title>CSS Reftest Reference</title>
|
|
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
|
<link href="mailto:mibalan@adobe.com" rel="reviewer" title="Mihai Balan" /> <!-- 2013-07-24 -->
|
|
<style>
|
|
.transformed {
|
|
transform: rotateY(45deg);
|
|
transition: 2s;
|
|
}
|
|
.flow {
|
|
color: green;
|
|
font-family: Ahem;
|
|
font-size: 20px;
|
|
line-height: 1em;
|
|
}
|
|
.perspective {
|
|
perspective: 200px;
|
|
perspective-origin: 100% 50%;
|
|
}
|
|
.region {
|
|
width: 100px;
|
|
height: 100px;
|
|
margin: 20px;
|
|
}
|
|
|
|
|
|
#failure {
|
|
position: absolute;
|
|
left: 25px;
|
|
width: 10px;
|
|
height: 112px;
|
|
background-color: red;
|
|
z-index: -1;
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if you see a green trapezoid and no red.</p>
|
|
<div id="failure"></div>
|
|
<div class="region perspective">
|
|
<div class="flow transformed">
|
|
xxxxx<br />
|
|
xxxxx<br />
|
|
xxxxx<br />
|
|
xxxxx<br />
|
|
xxxxx<br />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</body></html> |