| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Document::nodesFromRect : Rect-based hit-testing on SVG elements - bug 89
990</title> | 4 <title>Document::nodesFromRect : Rect-based hit-testing on SVG elements - bug 89
990</title> |
| 5 <style type="text/css"> | 5 <style type="text/css"> |
| 6 #sandbox { | 6 #sandbox { |
| 7 position: absolute; | 7 position: absolute; |
| 8 left: 0px; | 8 left: 0px; |
| 9 top: 0px; | 9 top: 0px; |
| 10 width: 600px; | 10 width: 600px; |
| 11 height: 800px; | 11 height: 800px; |
| 12 } | 12 } |
| 13 .svg { | 13 .svg { |
| 14 width: 40px; | 14 width: 40px; |
| 15 height: 20px; | 15 height: 20px; |
| 16 margin: 10px; | 16 margin: 10px; |
| 17 padding: 2px; | 17 padding: 2px; |
| 18 box-sizing: border-box; | 18 box-sizing: border-box; |
| 19 } | 19 } |
| 20 </style> | 20 </style> |
| 21 <script src="../../js/resources/js-test-pre.js"></script> | 21 <script src="../../../resources/js-test.js"></script> |
| 22 <script src="resources/nodesFromRect.js"></script> | 22 <script src="resources/nodesFromRect.js"></script> |
| 23 </head> | 23 </head> |
| 24 | 24 |
| 25 <body> | 25 <body> |
| 26 <div id=sandbox> | 26 <div id=sandbox> |
| 27 <div class=svg id=div1> | 27 <div class=svg id=div1> |
| 28 <svg id=svg1 height=16 xmlns="http://www.w3.org/2000/svg"> | 28 <svg id=svg1 height=16 xmlns="http://www.w3.org/2000/svg"> |
| 29 <circle id="red" cx="8" cy="8" r="5" fill="red" /> | 29 <circle id="red" cx="8" cy="8" r="5" fill="red" /> |
| 30 </svg> | 30 </svg> |
| 31 </div> | 31 </div> |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 } | 77 } |
| 78 | 78 |
| 79 runTest(); | 79 runTest(); |
| 80 </script> | 80 </script> |
| 81 | 81 |
| 82 <p id='description'></p> | 82 <p id='description'></p> |
| 83 <span id="console"></span> | 83 <span id="console"></span> |
| 84 </body> | 84 </body> |
| 85 </html> | 85 </html> |
| 86 | 86 |
| OLD | NEW |