| <!DOCTYPE html> |
| <style type="text/css"> |
| body { font-size: 20px; } |
| </style> |
| <div> |
| <font><a href="#">HITME1 <br><a href="#" id="test"><b>HITME2 </b> </a><span><a href="#">HITME3 </a></span></font> |
| </div> |
| <script src="../../../resources/js-test.js"></script> |
| <script src="resources/nodesFromRect.js"></script> |
| <script type="text/javascript"> |
| description('Test to get the node as a result of hit-tests from culled inlines between siblings'); |
| |
| if (window.internals) { |
| var test = document.getElementById('test'); |
| checkRect(test.offsetLeft + 4, test.offsetTop - 4, 2, 2, "'HITME1 '"); |
| checkRect(test.offsetLeft + 4, test.offsetTop + 4, 2, 2, "'HITME2 '"); |
| checkRect(test.offsetLeft + test.offsetWidth + 4, test.offsetTop + 4, 2, 2, "'HITME3 '"); |
| } |
| </script> |