REGRESSION(r127727): Calendar picker focus doesn't loop in calendar-picker.html
authorkeishi@webkit.org <keishi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Sep 2012 11:08:37 +0000 (11:08 +0000)
committerkeishi@webkit.org <keishi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Sep 2012 11:08:37 +0000 (11:08 +0000)
commit3b5826c03f0fa7bda9f9812e9adab03a0cd4eb30
tree861335143f48dcc3eeac449e8d601dde7947eead
parent6510667f3061a40ea73a04c865c0de5196a8e5f4
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
LayoutTests/ChangeLog
LayoutTests/fast/forms/date/calendar-picker-key-operations-expected.txt
LayoutTests/fast/forms/date/calendar-picker-key-operations.html
Source/WebCore/ChangeLog
Source/WebCore/Resources/pagepopups/calendarPicker.js