diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-30 20:33:02 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-30 20:33:02 +0200 |
commit | 7f21e9c0cd6ec3178ea38f61c6c64c63fcef36b8 (patch) | |
tree | 7cfada263233310d348c90da38338b9903f3c00c /dom/html/HTMLInputElement.h | |
parent | 9f4779f9231aeb3709c36193d43bde6b16576272 (diff) | |
download | UXP-7f21e9c0cd6ec3178ea38f61c6c64c63fcef36b8.tar UXP-7f21e9c0cd6ec3178ea38f61c6c64c63fcef36b8.tar.gz UXP-7f21e9c0cd6ec3178ea38f61c6c64c63fcef36b8.tar.lz UXP-7f21e9c0cd6ec3178ea38f61c6c64c63fcef36b8.tar.xz UXP-7f21e9c0cd6ec3178ea38f61c6c64c63fcef36b8.zip |
Bug 1310080 - Implement the step attribute for <input type=datetime-local>
Diffstat (limited to 'dom/html/HTMLInputElement.h')
-rw-r--r-- | dom/html/HTMLInputElement.h | 6 |
1 files changed, 1 insertions, 5 deletions
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. |