Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / nodesFromRect / nodesFromRect-culled-inlines-between-silblings.html
blobc505fc4732668ff66fad586a167779aa4fbdd17b
1 <!DOCTYPE html>
2 <style type="text/css">
3 body { font-size: 20px; }
4 </style>
5 <div>
6 <font><a href="#">HITME1 <br><a href="#" id="test"><b>HITME2 </b> </a><span><a href="#">HITME3 </a></span></font>
7 </div>
8 <script src="../../../resources/js-test.js"></script>
9 <script src="resources/nodesFromRect.js"></script>
10 <script type="text/javascript">
11 description('Test to get the node as a result of hit-tests from culled inlines between siblings');
13 if (window.internals) {
14 var test = document.getElementById('test');
15 checkRect(test.offsetLeft + 4, test.offsetTop - 4, 2, 2, "'HITME1 '");
16 checkRect(test.offsetLeft + 4, test.offsetTop + 4, 2, 2, "'HITME2 '");
17 checkRect(test.offsetLeft + test.offsetWidth + 4, test.offsetTop + 4, 2, 2, "'HITME3 '");
19 </script>