mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Bug 1310080 - Implement the step attribute for <input type=datetime-local>
This commit is contained in:
parent
1a9f7f4310
commit
a1c4899124
8 changed files with 251 additions and 61 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue