12 border:
1px solid black;
13 -webkit-perspective:
500px;
20 background-color: gray;
25 transform: rotateY(-
75deg);
31 transform: rotateX(
75deg);
37 transform: rotateY(
75deg);
43 transform: rotateX(-
75deg);
49 background-color: orange;
52 <script src=
"resources/hit-test-utils.js"></script>
55 { 'point': [170, 250], 'target' : 'left' },
56 { 'point': [260, 170], 'target' : 'top' },
57 { 'point': [330, 250], 'target' : 'right' },
58 { 'point': [260, 330], 'target' : 'bottom' },
59 { 'point': [60, 60], 'target' : 'container' },
60 { 'point': [160, 160], 'target' : 'container' },
61 { 'point': [190, 190], 'target' : 'container' },
62 { 'point': [310, 310], 'target' : 'container' },
64 window
.addEventListener('load', runTest
, false);
70 <div class=
"box" id=
"left"></div>
71 <div class=
"box" id=
"top"></div>
72 <div class=
"box" id=
"right"></div>
73 <div class=
"box" id=
"bottom"></div>
76 <div id=
"results"></div>