While WebKit r28669 (unlike Safari 3.0.4) now dispatches keydown/keyup events for modifier keys (Shift, Control, Option, and Command), it no longer dispatches keypress events for those keys and the "special" keys it previously dispatched them for (namely the arrow keys, home, end, page up and down, tab, delete, and backspace). It still dispatches one for Enter, but its keyIdentifier field is now blank (previously it was "Enter".)
A useful page for testing this behavior has been provided as this bug's URL.
This may have been intentional (after all, the old behavior was kind of an abuse of keypress in the first place), but I'm filing a bug anyway because it might not be, and if it is, I'd like some confirmation that this behavior is indeed changing.
Fixing a bit of grammar in the title.
I don't know a whole lot about Bugzilla or how you guys are using it, but it looks like if this really was unintentional then it would count as a regression, so I'm adding a keyword to that effect.
Yes, this was intentional, see <http://lists.webkit.org/pipermail/webkit-dev/2007-December/002992.html>.
As with any change, we are open to reconsidering this if it causes too much trouble, but for now, I'm closing as INVALID. Thank you for filing this bug, we appreciate your help!
Thank you very much for that link.
If I find any *real* regressions, I'll try to let you all know. :)
*** Bug 17937 has been marked as a duplicate of this bug. ***
*** Bug 17947 has been marked as a duplicate of this bug. ***
*** Bug 28905 has been marked as a duplicate of this bug. ***