Steps to reproduce: 1. Visit <https://www.apple.com>. 2. Press Command + Down Arrow. Then nothing happens. But the page should be scrolled to the bottom.
Following r237738 the value of the enumerations used to identify modifier keys (e.g. Shift) changed to match the values of the corresponding enumerations in GraphicsServices, which are the enumerations UIKit uses to computes the modifier flags bitmask when instantiating a WebEvent to pass to WebKit. Before r237738 WebKit was using enumerations whose values matched the values of the corresponding UIKit public API UIKeyModifier* enumerations. For non-content editable elements, WebKit intercepts UIKit events in -_handleKeyUIEvent, synthesizes and dispatches its own WebEvent. However it was creating WebEvents with a modifier flags bitmask built from the UIKeyModifier* enumerations, -_modifierFlags, as opposed to a bitmask from the GraphicsServices enumerations, -_gsModifierFlags.
Created attachment 355645 [details] Patch and layout tests
Comment on attachment 355645 [details] Patch and layout tests Clearing flags on attachment: 355645 Committed r238526: <https://trac.webkit.org/changeset/238526>
All reviewed patches have been landed. Closing bug.
<rdar://problem/45976390>