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/ColorInputType.cpp

Issue 513783002: Dispatch change event for input type=color when colorpicker is closed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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: Source/core/html/forms/ColorInputType.cpp
diff --git a/Source/core/html/forms/ColorInputType.cpp b/Source/core/html/forms/ColorInputType.cpp
index 1020281ba861c15ab5b4706ac691784a29ee21ba..6cb41082541ec03952c935ca100339b0b86ff402 100644
--- a/Source/core/html/forms/ColorInputType.cpp
+++ b/Source/core/html/forms/ColorInputType.cpp
@@ -188,11 +188,11 @@ void ColorInputType::didChooseColor(const Color& color)
return;
element().setValueFromRenderer(color.serialized());
element().updateView();
- element().dispatchFormControlChangeEvent();
keishi 2014/09/09 11:55:51 On Mac the color picker is a non-modal floating di
Habib Virji 2014/09/10 16:30:55 Done.
}
void ColorInputType::didEndChooser()
{
+ element().dispatchFormControlChangeEvent();
m_chooser.clear();
}
« Source/core/html/HTMLInputElement.cpp ('K') | « Source/core/html/HTMLInputElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698