| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <style> | 5 <style> |
| 6 body{ | 6 body{ |
| 7 font-size: 16px; | 7 font-size: 16px; |
| 8 line-height: 26px; | 8 line-height: 26px; |
| 9 margin: 0px; | 9 margin: 0px; |
| 10 padding: 0px; | 10 padding: 0px; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 <script> | 34 <script> |
| 35 description('Tests for hitTest of <a> element <br/> <a href="https://bugs.webkit
.org/show_bug.cgi?id=45164">bug 45164</a>: REGRESSION: <a><img align=top></a> Cl
ickable area too large'); | 35 description('Tests for hitTest of <a> element <br/> <a href="https://bugs.webkit
.org/show_bug.cgi?id=45164">bug 45164</a>: REGRESSION: <a><img align=top></a> Cl
ickable area too large'); |
| 36 | 36 |
| 37 var hitResult; | 37 var hitResult; |
| 38 function runTests() { | 38 function runTests() { |
| 39 var obj = document.elementFromPoint(15, 15); | 39 var obj = document.elementFromPoint(15, 15); |
| 40 hitResult = (obj.nodeName.toLowerCase() == "a"); | 40 hitResult = (obj.nodeName.toLowerCase() == "a"); |
| 41 shouldBeFalse('hitResult'); | 41 shouldBeFalse('hitResult'); |
| 42 } | 42 } |
| 43 </script> | 43 </script> |
| 44 <script src="../js/resources/js-test-post.js"></script> | |
| 45 </body> | 44 </body> |
| 46 </html> | 45 </html> |
| OLD | NEW |