3 <style type=
"text/css" media=
"screen">
6 outline:
2px solid orange;
11 border:
1px solid black;
12 -webkit-perspective:
500px;
19 background-color: gray;
23 -webkit-transform-origin:
10%
50%;
24 transform: rotateY(
40deg);
28 background-color: orange !important;
35 background-color: blue;
36 transform: translateZ(
1px);
43 <script src=
"resources/hit-test-utils.js"></script>
46 { 'point': [30, 30], 'target' : 'box1' },
47 { 'point': [80, 100], 'target' : 'box1' },
48 { 'point': [100, 120], 'target' : 'box2' },
49 { 'point': [200, 250], 'target' : 'box2' },
51 window
.addEventListener('load', runTest
, false);
57 <div class=
"middle box" id=
"box1">
58 <div class=
"child box" id=
"box2"></div>
62 <div id=
"results"></div>