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

Unified Diff: third_party/WebKit/Source/core/html/forms/BaseButtonInputType.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/BaseButtonInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp b/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
index 9915a00bfd83b934e1536ad24c2a4df800ae3553..817a47f357ee8b3f6f289da8fb406b45311e4a55 100644
--- a/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
@@ -87,7 +87,8 @@ InputType::ValueMode BaseButtonInputType::valueMode() const {
void BaseButtonInputType::setValue(const String& sanitizedValue,
bool,
- TextFieldEventBehavior) {
+ TextFieldEventBehavior,
+ TextControlSetValueSelection) {
element().setAttribute(valueAttr, AtomicString(sanitizedValue));
}

Powered by Google App Engine
This is Rietveld 408576698