REGRESSION(r127727): Calendar picker focus doesn't loop in calendar-picker.html
https://bugs.webkit.org/show_bug.cgi?id=97183
Reviewed by Kent Tamura.
Source/WebCore:
Fixing bug calendar-picker.html. The page popup behaves fine because
this code is only necessary in calendar-picker.html where the focus can
move outside of the picker because we are just using an iframe.
No new tests. Added tests to calendar-picker-key-operations.html.
* Resources/pagepopups/calendarPicker.js:
(YearMonthController.prototype.attachTo):
(CalendarPicker.prototype._handleBodyKeyDown):
LayoutTests:
* fast/forms/date/calendar-picker-key-operations-expected.txt:
* fast/forms/date/calendar-picker-key-operations.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@129344
268f45cc-cd09-0410-ab3c-
d52691b4dbfc