Summary: | Moving focus in Cmd+V keydown event handler should redirect paste | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dale Harvey <dale> | ||||
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | ap, mkbitbucket, sam | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.6 | ||||||
URL: | http://pastebin.me/4134eda0cca5e2582e7e522486a406ca | ||||||
Attachments: |
|
Description
Dale Harvey
2010-05-25 15:00:54 PDT
This worked for me on Leopard, but didn't work on SL. Created attachment 57123 [details]
test case
Attaching the same test, in case it expires from pastebin.
Of course, this shouldn't work when focus moves cross-frame. This bug also occurs on Safari on Lion and appears to be worse than on Snow Leopard. On SL, you could change the focus in a document/body level beforePaste event (to a text area/field) and then the text would get pasted into that control. However, the beforePaste event no longer fires at the document/body level in Safari (but does, as does the paste event, in Chrome). |