Index: third_party/WebKit/Source/core/html/forms/CheckboxInputType.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/CheckboxInputType.cpp b/third_party/WebKit/Source/core/html/forms/CheckboxInputType.cpp |
index fee27cc78d5dc78c5a2f4c21417a82dd7aca7aa6..6c3244a7e3c8fd7e4897cc3912c87e40f0ed1c1d 100644 |
--- a/third_party/WebKit/Source/core/html/forms/CheckboxInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/CheckboxInputType.cpp |
@@ -62,7 +62,7 @@ String CheckboxInputType::valueMissingText() const |
void CheckboxInputType::handleKeyupEvent(KeyboardEvent* event) |
{ |
const String& key = event->keyIdentifier(); |
- if (key != "U+0020") |
+ if (key != "U+0020" && key != "Enter") |
return; |
dispatchSimulatedClickIfActive(event); |
} |