Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE HTML> | |
| 2 <body/> | |
|
tkent
2016/05/25 22:57:45
nit: Closing body tag here looks weird :)
esprehn
2016/05/26 05:40:09
Dave: Can you fix this? the / doesn't do anything.
| |
| 3 <script src="../../resources/testharness.js"></script> | |
| 4 <script src="../../resources/testharnessreport.js"></script> | |
| 5 <a id="target" href="#abc" title="This should appear as a tooltip">Hello.</a> | |
| 6 <script> | |
| 7 function doubleClickNoNavigation() { | |
| 8 document.getElementById('target').dispatchEvent(new MouseEvent("click", {detai l: 2})); | |
| 9 assert_equals(window.location.hash, "", "There should be no navigation on doub le click"); | |
| 10 } | |
| 11 | |
| 12 test(doubleClickNoNavigation, "Double Click No Navigation"); | |
| 13 </script> | |
| OLD | NEW |