Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(554)

Unified Diff: LayoutTests/editing/pasteboard/paste-when-over-link.html

Issue 23060022: Don't turn middleclicks into click events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Going back to simple fix: No click events. Done. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/events/mid-button-link-click.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/pasteboard/paste-when-over-link.html
diff --git a/LayoutTests/editing/pasteboard/paste-when-over-link.html b/LayoutTests/editing/pasteboard/paste-when-over-link.html
index 3cf50003fd5d4f0b8e9f9f4b7cebff1556b189b3..960576b89de828134cc91fc7f84371eaf75ea27a 100644
--- a/LayoutTests/editing/pasteboard/paste-when-over-link.html
+++ b/LayoutTests/editing/pasteboard/paste-when-over-link.html
@@ -19,11 +19,6 @@ document.execCommand('Copy', false, null);
var textarea = document.getElementById('textarea');
var linkElement = document.getElementById('link');
-linkElement.addEventListener("click", function(e) {
- e.preventDefault();
- textarea.focus();
-});
-
var linkX = linkElement.offsetLeft + linkElement.offsetWidth / 2;
var linkY = linkElement.offsetTop + linkElement.offsetHeight / 2;
« no previous file with comments | « no previous file | LayoutTests/fast/events/mid-button-link-click.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698