| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../../../fast/js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
| 4 <script> | 4 <script> |
| 5 | 5 |
| 6 if (window.testRunner) | 6 if (window.testRunner) |
| 7 testRunner.waitUntilDone() | 7 testRunner.waitUntilDone() |
| 8 | 8 |
| 9 var LeftMouseButton = 0; | 9 var LeftMouseButton = 0; |
| 10 var MiddleMouseButton = 1; | 10 var MiddleMouseButton = 1; |
| 11 | 11 |
| 12 var testContainer; | 12 var testContainer; |
| 13 var didClickLink1 = false; | 13 var didClickLink1 = false; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 <div id="dummy" style="height:200px"><!-- dummy element to overflow test-con
tainer --></div> | 85 <div id="dummy" style="height:200px"><!-- dummy element to overflow test-con
tainer --></div> |
| 86 <a id="firstLink" href="#" onclick="didClickLink1=true">Link 1</a> <a id="se
condLink" href="#" onclick="checkIfClickedLink1AndFinish()">Link 2</a> | 86 <a id="firstLink" href="#" onclick="didClickLink1=true">Link 1</a> <a id="se
condLink" href="#" onclick="checkIfClickedLink1AndFinish()">Link 2</a> |
| 87 </div> | 87 </div> |
| 88 <div id="console"></div> | 88 <div id="console"></div> |
| 89 <script> | 89 <script> |
| 90 description("This test can be used to verify that clicking on a hyperlink is
ignored when in pan scroll mode. <br/>" + | 90 description("This test can be used to verify that clicking on a hyperlink is
ignored when in pan scroll mode. <br/>" + |
| 91 "Note, this test is expected to fail on the Apple Mac and Chromi
um Mac port since they don't support pan scrolling."); | 91 "Note, this test is expected to fail on the Apple Mac and Chromi
um Mac port since they don't support pan scrolling."); |
| 92 </script> | 92 </script> |
| 93 </body> | 93 </body> |
| 94 </html> | 94 </html> |
| OLD | NEW |