OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Document::nodesFromRect : inline image - bug 85849</title> | 4 <title>Document::nodesFromRect : inline image - bug 85849</title> |
5 <script src="../../js/resources/js-test-pre.js"></script> | 5 <script src="../../js/resources/js-test-pre.js"></script> |
6 <script src="resources/nodesFromRect.js"></script> | 6 <script src="resources/nodesFromRect.js"></script> |
7 <style> | 7 <style> |
8 #sandbox { | 8 #sandbox { |
9 position: absolute; | 9 position: absolute; |
10 left: 0px; | 10 left: 0px; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 /* Rect based test over the img, span and their container. */ | 54 /* Rect based test over the img, span and their container. */ |
55 checkRect(3, 101, 2, 18, "IMG, SPAN, DIV#container"); | 55 checkRect(3, 101, 2, 18, "IMG, SPAN, DIV#container"); |
56 /* Rect based test over just span and its container. */ | 56 /* Rect based test over just span and its container. */ |
57 checkRect(3, 103, 2, 16, "SPAN, DIV#container"); | 57 checkRect(3, 103, 2, 16, "SPAN, DIV#container"); |
58 /* Rect based test over the img that is not over span with the img n
ot fully covering the hit region. */ | 58 /* Rect based test over the img that is not over span with the img n
ot fully covering the hit region. */ |
59 checkRect(1, 1, 3, 3, "IMG, DIV#container"); | 59 checkRect(1, 1, 3, 3, "IMG, DIV#container"); |
60 | 60 |
61 } | 61 } |
62 runTest(); | 62 runTest(); |
63 </script> | 63 </script> |
64 <script src="../../js/resources/js-test-post.js"></script> | |
65 </body> | 64 </body> |
66 </html> | 65 </html> |
67 | 66 |
OLD | NEW |