blob: c07d4844bd075ced243171c06cde295e1f5e1c7a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<!DOCTYPE html>
<html><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>
|