Open Bug 1339054 Opened 8 years ago Updated 2 years ago

[DateTimeInput] "3" key should validate day segment as "03" for month February

Categories

(Core :: Layout: Form Controls, defect, P3)

54 Branch
defect

Tracking

()

Tracking Status
firefox54 --- affected

People

(Reporter: roxana.leitan, Unassigned)

References

(Blocks 1 open bug)

Details

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170212030213

[Affected versions]:
Nightly 54.0a1

[Affected platforms]:
All platforms: Ubuntu 16.04, Mac OS X 10.11, Windows 10, Windows 7

[Steps to reproduce]:
1.Launch Nightly 54.0a1 with a new profile
2.Set "dom.forms.datetime" and "dom.forms.datetime.timepicker" pref to True in about:config
3.In the URL bar enter "data:text/html, <input type="date">"
4.Choose month February 
5.Select day segment
6.Press "3" key
7.Press "1" key

[Expected result]:
6.Day value should be confirmed "03" and the highlight should be moved to the next segment
7."31" day value should not be validated for month February


[Actual result]:
6.The highlight stays on day segment
7."31" day value is validated for month February
Component: XUL Widgets → Layout: Form Controls
Product: Toolkit → Core
Summary: [DateTimePicker] "3" key should validate day segment as "03" for month February → [DateTimeInput] "3" key should validate day segment as "03" for month February
there is always a checking mechanism before submission so this can be P2.
Priority: -- → P2
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.