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

Unified Diff: Source/core/html/forms/RangeInputType.cpp

Issue 234933002: Dispatch change event for Input type=range for touchEnd (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review changes Created 6 years, 8 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
« no previous file with comments | « LayoutTests/fast/forms/range/slider-onchange-event-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/RangeInputType.cpp
diff --git a/Source/core/html/forms/RangeInputType.cpp b/Source/core/html/forms/RangeInputType.cpp
index 557fb82dbab496b252ec7f6d99e285e9bad5bad8..506619179970cabea16162ed0bbeb052cf48e242 100644
--- a/Source/core/html/forms/RangeInputType.cpp
+++ b/Source/core/html/forms/RangeInputType.cpp
@@ -166,6 +166,7 @@ void RangeInputType::handleTouchEvent(TouchEvent* event)
return;
if (event->type() == EventTypeNames::touchend) {
+ element().dispatchFormControlChangeEvent();
event->setDefaultHandled();
return;
}
« no previous file with comments | « LayoutTests/fast/forms/range/slider-onchange-event-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698