3 <title>Point mapping through
3D transform hierarchies
</title>
4 <script src=
"point-mapping-helpers.js" type=
"text/javascript" charset=
"utf-8"></script>
5 <script type=
"text/javascript" charset=
"utf-8">
9 // In non-test mode, show the mouse coords for testing
10 if (!window.testRunner)
11 document.body.addEventListener('mousemove', mousemoved, false);
13 dispatchEvent(
158,
83, 'card',
2,
2);
14 dispatchEvent(
309,
112, 'card',
198,
2);
15 dispatchEvent(
158,
338, 'card',
2,
198);
16 dispatchEvent(
309,
308, 'card',
198,
198);
19 <style type=
"text/css" media=
"screen">
22 border:
1px solid black;
25 -webkit-perspective:
600;
26 -webkit-transform-style: preserve-
3d;
34 border:
1px solid blue;
35 -webkit-transform-style: preserve-
3d;
44 background-color: #
81AA8A;
45 -webkit-transform-origin: right top;
46 transform: rotateY(
45deg);
50 background-color: orange;
68 <body onclick=
"clicked(event)">
70 <div id=
"results"></div>
78 <div id=
"mousepos"></div>