| 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 f3d3de831bf09579062473a811d0312d14b9be1e..2375afbf91e882bb615232eb97853b8c18bc4918 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp
|
| @@ -456,7 +456,7 @@ bool isEnterKeyKeydownEvent(Event* event)
|
| bool isLinkClick(Event* event)
|
| {
|
| // Allow detail <= 1 so that synthetic clicks work. They may have detail == 0.
|
| - return event->type() == EventTypeNames::click && (!event->isMouseEvent() || (toMouseEvent(event)->button() != RightButton && toMouseEvent(event)->detail() <= 1));
|
| + return (event->type() == EventTypeNames::click || event->type() == EventTypeNames::auxclick) && (!event->isMouseEvent() || (toMouseEvent(event)->button() != RightButton && toMouseEvent(event)->detail() <= 1));
|
| }
|
|
|
| bool HTMLAnchorElement::willRespondToMouseClickEvents()
|
|
|