11 background-color: gray;
14 /* target contain points with negative z-offsets */
20 background-color: #DDD;
21 transform: rotate3d(
0,
1,
0, -
45deg);
22 -webkit-transform-origin: right;
30 <script src=
"resources/hit-test-utils.js"></script>
33 { 'point': [50, 50], 'target' : 'container' },
34 { 'point': [60, 60], 'target' : 'container' },
35 { 'point': [70, 70], 'target' : 'target' },
36 { 'point': [80, 80], 'target' : 'target' },
37 { 'point': [90, 90], 'target' : 'target' },
38 { 'point': [100, 100], 'target' : 'target' },
39 { 'point': [150, 150], 'target' : 'target' },
40 { 'point': [180, 180], 'target' : 'container' },
42 window
.addEventListener('load', runTest
, false);
52 <p id=
"description">Checks that hit testing is correct when a transformed element has negative z-offset
</p>
54 <div id=
"results"></div>