16 background-color: gray;
21 <script type=
"text/javascript" charset=
"utf-8">
22 if (window.testRunner)
23 testRunner.dumpAsText();
27 var hitElement = document.elementFromPoint(
58,
58);
28 var results = document.getElementById('results')
29 if (hitElement && hitElement.id == 'target')
30 results.innerHTML = 'elementFromPoint found target: PASS';
32 results.innerHTML = 'elementFromPoint did not find target: FAIL';
36 <body onload=
"runTest()">
38 <p>Tests hit testing on generated content
</p>
39 <div id=
"target"> </div>