Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp |
| diff --git a/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp b/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp |
| index f30b2e6a4069c1732346c1da9a168e1ad5512ce6..b244f25010e196601169e0bee6f133527afb8e6b 100644 |
| --- a/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp |
| +++ b/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp |
| @@ -60,7 +60,7 @@ void BaseCheckableInputType::appendToFormData(FormData& formData) const |
| void BaseCheckableInputType::handleKeydownEvent(KeyboardEvent* event) |
| { |
| const String& key = event->keyIdentifier(); |
|
dtapuska
2016/02/09 14:29:03
As per the similar comment before; keyIdentifier w
|
| - if (key == "U+0020") { |
| + if (key == "U+0020" || key == "Enter") { |
| element().setActive(true); |
| // No setDefaultHandled(), because IE dispatches a keypress in this case |
| // and the caller will only dispatch a keypress if we don't call setDefaultHandled(). |