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

Unified Diff: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp

Issue 2715353003: Allow clicks > 1 to navigate. (Closed)
Patch Set: Created 3 years, 10 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 | « third_party/WebKit/LayoutTests/html/text-level-semantics/a-click.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
index b1e9a3d4cd74ea1b70d664fa65e55a29357bf632..09b1894fba73c373b9229ebb8ed971fe4ff5575a 100644
--- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
@@ -461,9 +461,8 @@ bool isLinkClick(Event* event) {
return (event->type() == EventTypeNames::click ||
event->type() == EventTypeNames::auxclick) &&
(!event->isMouseEvent() ||
- (toMouseEvent(event)->button() !=
- static_cast<short>(WebPointerProperties::Button::Right) &&
- toMouseEvent(event)->detail() <= 1));
+ toMouseEvent(event)->button() !=
+ static_cast<short>(WebPointerProperties::Button::Right));
}
bool HTMLAnchorElement::willRespondToMouseClickEvents() {
« no previous file with comments | « third_party/WebKit/LayoutTests/html/text-level-semantics/a-click.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698