From 7f21e9c0cd6ec3178ea38f61c6c64c63fcef36b8 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Fri, 30 Mar 2018 20:33:02 +0200 Subject: Bug 1310080 - Implement the step attribute for --- dom/html/HTMLInputElement.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'dom/html/HTMLInputElement.h') diff --git a/dom/html/HTMLInputElement.h b/dom/html/HTMLInputElement.h index 56f40a60a..fde12b817 100644 --- a/dom/html/HTMLInputElement.h +++ b/dom/html/HTMLInputElement.h @@ -1061,11 +1061,7 @@ protected: /** * Returns if the step attribute apply for the current type. */ - bool DoesStepApply() const - { - // TODO: this is temporary until bug 888331 is fixed. - return DoesMinMaxApply() && mType != NS_FORM_INPUT_DATETIME_LOCAL; - } + bool DoesStepApply() const { return DoesMinMaxApply(); } /** * Returns if stepDown and stepUp methods apply for the current type. -- cgit v1.2.3