blob: 01e6059117e65851699b1011bc91d3600bc25547 (
plain)
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
|
<!DOCTYPE HTML>
<title>preserve-3d hit testing</title>
<style>
#stage {
}
#parent {
-moz-transform-style: preserve-3d;
}
#big {
width: 1000px;
height: 1000px;
background-color: #995C7F;
-moz-transform: translate3d(0px, 0px, 350px) rotatey(45deg);
}
#small {
width: 100px;
height: 100px;
background-color: #835A99;
-moz-transform: translate3d(600px, 200px, 350px);
}
</style>
<body>
<div id="stage">
<div id="parent">
<div id="small"></div>
<div id="big"></div>
</div>
</div>
|