<rdar://problem/6138855> Right now we set the selected item to the last focused element (which is the last element the user focused on via either mouse or keyboard interaction). It should just go to the previously selected item if we click on a disabled option (this is to match behavior on mac)
Created attachment 214183 [details] patch
Comment on attachment 214183 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=214183&action=review Looks good to me. I wonder if we will mess up WINCE at all with the movement of the "setFocusedIndex" logic to inside the #if !OS(WINCE) block. > Source/WebCore/platform/win/PopupMenuWin.cpp:167 > + } Do you think this block is needed by WINCE?
Oops. Didn't notice that I had put that there. I'll move it out though just to be safe.
Committed: http://trac.webkit.org/changeset/157423
*** Bug 18358 has been marked as a duplicate of this bug. ***