Summary: | REGRESSION(r127727): Can't navigate between months with arrow keys in calendar picker | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Keishi Hattori <keishi> | ||||||
Component: | Forms | Assignee: | Keishi Hattori <keishi> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | tkent, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Keishi Hattori
2012-09-19 21:53:09 PDT
Created attachment 164842 [details]
Patch
Comment on attachment 164842 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=164842&action=review > LayoutTests/fast/forms/date/calendar-picker-key-operations.html:33 > + shouldBe('selectedDate()', '"1999-12-26"'); > + eventSender.keyDown('upArrow'); > + shouldBe('selectedDate()', '"2000-01-02"'); I don't understand this. 1999-12-26 + upArrow isn't 1999-12-19? Comment on attachment 164842 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=164842&action=review >> LayoutTests/fast/forms/date/calendar-picker-key-operations.html:33 >> + shouldBe('selectedDate()', '"2000-01-02"'); > > I don't understand this. > 1999-12-26 + upArrow isn't 1999-12-19? This is moving from 1999-12-26 in the top row of the January calendar to 2000-01-02 in the last row of the December calendar. Comment on attachment 164842 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=164842&action=review >>> LayoutTests/fast/forms/date/calendar-picker-key-operations.html:33 >>> + shouldBe('selectedDate()', '"2000-01-02"'); >> >> I don't understand this. >> 1999-12-26 + upArrow isn't 1999-12-19? > > This is moving from 1999-12-26 in the top row of the January calendar to 2000-01-02 in the last row of the December calendar. Oh, I see. We had better check YearMonthController.year() and month() values in the test, or add comments in the test. Created attachment 164849 [details]
Patch
Comment on attachment 164849 [details]
Patch
ok
Comment on attachment 164849 [details] Patch Clearing flags on attachment: 164849 Committed r129106: <http://trac.webkit.org/changeset/129106> All reviewed patches have been landed. Closing bug. |