| Index: Source/core/html/HTMLSelectElement.cpp
|
| diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp
|
| index baf56aa7a374f69e0f8842b1d954430dceec46c2..b4c5aca7f7dddb1c41243ff78b7eb0439a551c26 100644
|
| --- a/Source/core/html/HTMLSelectElement.cpp
|
| +++ b/Source/core/html/HTMLSelectElement.cpp
|
| @@ -322,11 +322,9 @@ bool HTMLSelectElement::isKeyboardFocusable(KeyboardEvent* event) const
|
| return HTMLFormControlElementWithState::isKeyboardFocusable(event);
|
| }
|
|
|
| -bool HTMLSelectElement::isMouseFocusable() const
|
| +bool HTMLSelectElement::shouldShowFocusRingOnMouseFocus() const
|
| {
|
| - if (renderer())
|
| - return isFocusable();
|
| - return HTMLFormControlElementWithState::isMouseFocusable();
|
| + return true;
|
| }
|
|
|
| bool HTMLSelectElement::canSelectAll() const
|
| @@ -1107,6 +1105,7 @@ void HTMLSelectElement::menuListDefaultEventHandler(Event* event)
|
| if (event->type() == eventNames().keydownEvent) {
|
| if (!renderer() || !event->isKeyboardEvent())
|
| return;
|
| + willHandleKeyDownEvent();
|
|
|
| if (platformHandleKeydownEvent(static_cast<KeyboardEvent*>(event)))
|
| return;
|
| @@ -1348,6 +1347,7 @@ void HTMLSelectElement::listBoxDefaultEventHandler(Event* event)
|
| } else if (event->type() == eventNames().keydownEvent) {
|
| if (!event->isKeyboardEvent())
|
| return;
|
| + willHandleKeyDownEvent();
|
| const String& keyIdentifier = static_cast<KeyboardEvent*>(event)->keyIdentifier();
|
|
|
| bool handled = false;
|
|
|