Chromium Code Reviews| 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/238156. | |
|
alexmos
2017/02/09 22:58:36
Typo in bug number?
Łukasz Anforowicz
2017/02/10 00:38:18
Ooops. Done.
| |
| 17 <hr> | |
| 18 <a href="/title1.html" | |
| 19 id="test-anchor-no-target">Test link to click while holding ctrl key</a> | |
| 20 </body> | |
| 21 </html> | |
| OLD | NEW |