Find a way to make multiple selections when spatial navigation is enabled. Right now, up and down keys always changes selection and no way to select multiple items either.
Created attachment 81498 [details] fix patch
Forgot to add cgarcia, who implemented addFocusRingRects, to the ChangeLog. :) I will do it in the 2nd attempt.
Comment on attachment 81498 [details] fix patch View in context: https://bugs.webkit.org/attachment.cgi?id=81498&action=review looks ok to me! some minor nits ... could you please add tests with disabled <selects>? > Source/WebCore/ChangeLog:9 > + Nit: you are missing the bug title. > Source/WebCore/dom/SelectElement.cpp:822 > + updateSelectedState(data, element, listToOptionIndex(data, element, data.activeSelectionEndIndex()), true, false); I would hadadded /**/-like comments for the bools true /*shift*/, false /*foo*/ > LayoutTests/ChangeLog:5 > + Enhanced the test for testing multiple selection. nit: generally such comment is explaining the change. It should go below the bugzilla entry, which should come below the bug title.
Created attachment 81524 [details] fix patch 2
Comment on attachment 81524 [details] fix patch 2 View in context: https://bugs.webkit.org/attachment.cgi?id=81524&action=review LGTM. As discussed on IRC, cshu will add a few more requested tests. > Source/WebCore/dom/SelectElement.cpp:822 > + updateSelectedState(data, element, listToOptionIndex(data, element, data.activeSelectionEndIndex()), true /*multi*/, false /*shift*/); do we want to force multi here? even if it is disabled in the html?
> > Source/WebCore/dom/SelectElement.cpp:822 > > + updateSelectedState(data, element, listToOptionIndex(data, element, data.activeSelectionEndIndex()), true /*multi*/, false /*shift*/); > > do we want to force multi here? even if it is disabled in the html? As discussed on IRC, we found a couple of remaining issues to be addressed: 1. support select with shiftkey with sp enabled. 2. fix the multiple=false case 3. add tests for disable <select> I will work on them in the follow-up patches.
Created attachment 81668 [details] fix patch 3
Comment on attachment 81668 [details] fix patch 3 Clearing flags on attachment: 81668 Committed r79762: <http://trac.webkit.org/changeset/79762>