| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 <!doctype html> | 
|  | 2 <html> | 
|  | 3 <head> | 
|  | 4 <script> | 
|  | 5 window.name = "main_contents"; | 
|  | 6 function simulateClick(anchor_name, properties) { | 
|  | 7   var evt = new MouseEvent("click", properties); | 
|  | 8 | 
|  | 9   target = document.getElementById(anchor_name); | 
|  | 10   return target.dispatchEvent(evt); | 
|  | 11 } | 
|  | 12 </script> | 
|  | 13 </head> | 
|  | 14 <body> | 
|  | 15 This page helps testing shift-clicking or ctrl-clicking an anchor/link | 
|  | 16 that points to the same site.  See also https://crbug.com/23815 and/or | 
|  | 17 https://crbug.com/658386. | 
|  | 18 <hr> | 
|  | 19 <a href="/title1.html" | 
|  | 20    id="test-anchor-no-target">Test link to click while holding ctrl key</a> | 
|  | 21 </body> | 
|  | 22 </html> | 
| OLD | NEW | 
|---|