Bug 34288

Summary: Preventing default action on cut/copy events should not clear clipboard
Product: WebKit Reporter: Daniel Cheng <dcheng>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: adele, enrica, jberlin, oliver, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows Vista   
URL: http://www.quirksmode.org/dom/events/cutcopypaste.html
Bug Depends on: 34293, 40515    
Bug Blocks:    

Daniel Cheng
Reported 2010-01-28 15:32:03 PST
In WebKit-based browsers, preventing the default action in cut/copy still results in the clipboard getting cleared. Ideally, the clipboard should only be cleared if the Clipboard object is "dirty". This also makes WebKit behavior consistent with IE and Firefox.
Attachments
Ryosuke Niwa
Comment 1 2012-05-01 23:12:25 PDT
Is this still the case?
Daniel Cheng
Comment 2 2012-05-14 18:12:53 PDT
This isn't a problem for Chromium since it clears the clipboard a different way. It still affects the other ports though.
Note You need to log in before you can comment on or make changes to this bug.