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

Unified Diff: third_party/WebKit/Source/core/html/forms/RangeInputType.h

Issue 2366753004: input[type=range]: Updating step attribute should align the value to steps. (Closed)
Patch Set: Created 4 years, 3 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/RangeInputType.h
diff --git a/third_party/WebKit/Source/core/html/forms/RangeInputType.h b/third_party/WebKit/Source/core/html/forms/RangeInputType.h
index 2e6393c6642f3830f9249668b18a2c80828e523d..4105616ec85c893ae74920671505bcc4612ea6f0 100644
--- a/third_party/WebKit/Source/core/html/forms/RangeInputType.h
+++ b/third_party/WebKit/Source/core/html/forms/RangeInputType.h
@@ -66,6 +66,7 @@ private:
String serialize(const Decimal&) const override;
void accessKeyAction(bool sendMouseEvents) override;
void sanitizeValueInResponseToMinOrMaxAttributeChange() override;
+ void stepAttributeChanged() override;
void warnIfValueIsInvalid(const String&) const override;
void setValue(const String&, bool valueChanged, TextFieldEventBehavior) override;
String fallbackValue() const override;

Powered by Google App Engine
This is Rietveld 408576698