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

Unified Diff: Source/core/html/HTMLTextFormControlElement.h

Issue 255163002: Dispatch change event for input type=checkbox when checked but value is null (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed input type check and instead using virtual function to check if input type is checkbox 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
Index: Source/core/html/HTMLTextFormControlElement.h
diff --git a/Source/core/html/HTMLTextFormControlElement.h b/Source/core/html/HTMLTextFormControlElement.h
index 576c867f86d1cc426354eebe492b319dd837e699..6103533ff2148bb9ba91f34fa1ab6f40a0bb4a9a 100644
--- a/Source/core/html/HTMLTextFormControlElement.h
+++ b/Source/core/html/HTMLTextFormControlElement.h
@@ -74,6 +74,7 @@ public:
virtual void dispatchFormControlChangeEvent() OVERRIDE FINAL;
virtual String value() const = 0;
+ virtual bool isCheckbox() const;
HTMLElement* innerTextElement() const;

Powered by Google App Engine
This is Rietveld 408576698