3 <title>Hit testing on preserves-
3d element
</title>
4 <style type=
"text/css" media=
"screen">
12 background-color: gray;
21 background-color: #DDD;
22 -webkit-transform-style: preserve-
3d;
29 <script type=
"text/javascript" charset=
"utf-8">
30 if (window.testRunner)
31 testRunner.dumpAsText();
34 var hit = document.elementFromPoint(
100,
100);
35 var results = document.getElementById('results');
36 if (hit == document.getElementById('target'))
37 results.innerHTML = 'Hit target without crashing: PASSED';
39 results.innerHTML = 'Did not crash but failed to find target: FAIL';
43 <body onload=
"runTest()">
45 <div class=
"container">
49 <div id=
"results"></div>