OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <style type="text/css"> | |
3 body { font-size: 20px; } | |
4 </style> | |
5 <div> | |
6 <font dir="rtl"><a href="#">12 <b id="test">34 </b><b>56 </b><span><a href="
#">78 </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 inlin
es between siblings'); | |
12 | |
13 if (window.internals) { | |
14 var test = document.getElementById('test'); | |
15 | |
16 checkRect(test.offsetLeft - 8, test.offsetTop + 4, 2, 2, "'56 '"); | |
17 checkRect(test.offsetLeft + 8, test.offsetTop + 4, 2, 2, "'34 '"); | |
18 checkRect(test.offsetLeft + test.offsetWidth + 8, test.offsetTop + 4, 2,
2, "'12 '"); | |
19 } | |
20 </script> | |
OLD | NEW |