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

Unified Diff: third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp

Issue 2735633006: INPUT/TEXTAREA elements: Dispatch 'select' event only if text selection is changed. (Closed)
Patch Set: Remove throttling Created 3 years, 9 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
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 3c5ccf2421573fb39992480ead4462d1a37f81b5..d2e393ec4d1fb4cc36845eea8568d29c4f3681c9 100644
--- a/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
@@ -104,7 +104,8 @@ InputType::ValueMode BaseCheckableInputType::valueMode() const {
void BaseCheckableInputType::setValue(const String& sanitizedValue,
bool,
- TextFieldEventBehavior) {
+ TextFieldEventBehavior,
+ TextControlSetValueSelection) {
element().setAttribute(valueAttr, AtomicString(sanitizedValue));
}

Powered by Google App Engine
This is Rietveld 408576698