Closed
Bug 1337830
Opened 8 years ago
Closed 8 years ago
[DateTimeInput] Home/End keys change year values in the input box
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
VERIFIED
FIXED
mozilla55
People
(Reporter: roxana.leitan, Assigned: jessica)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID:20170208030203
[Affected versions]:
Nightly 54.0a1
[Affected platforms]:
All platforms: Ubuntu 16.04, Mac OS X 10.11, Windows 10
[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.Press tab key to move focus on year segment
5.Press Home/End keys
[Expected result]:
Home/End keys should do nothing on year segment.
[Actual result]:
Home key changes year value to "0001" and End key changes to "275760"
Updated•8 years ago
|
Component: XUL Widgets → Layout: Form Controls
Product: Toolkit → Core
Assignee | ||
Updated•8 years ago
|
Summary: [DateTimePicker] Home/End keys change year values in the input box → [DateTimeInput] Home/End keys change year values in the input box
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jjong
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•8 years ago
|
||
Hi mossop, could you take a look at this small change to meet the UX spec? Thanks.
Comment hidden (mozreview-request) |
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8869333 [details]
Bug 1337830 - [DateTimeInput] Home/End keys should have no effect on year field.
https://reviewboard.mozilla.org/r/140890/#review144672
Attachment #8869333 -
Flags: review?(dtownsend) → review+
Assignee | ||
Comment 5•8 years ago
|
||
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/b6be024548cd
[DateTimeInput] Home/End keys should have no effect on year field. r=mossop
Keywords: checkin-needed
Comment 7•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Comment 8•8 years ago
|
||
Mark 54 won't fix as this is late for Beta54.
Verified fixed on the latest Nightly 55.0a1 (2017-06-07) on Windows 10 x64, Ubuntu 16.04 x64 and Mac OS X 10.12.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•