Bug 36140

Summary: doubleClick on Windows sometimes doesn't smart delete
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   

Ojan Vafai
Reported 2010-03-15 14:41:10 PDT
I was able to reproduce this manually in a WebKit nightly on Windows, but not well enough to come up with a reliable reproduction. It seems like it might be related to where you doubleClick. One way to reproduce is to change editing/pasteboard/smart-paste-002.html to call doubleClickAtSelectionStart() instead of: var target = document.getElementById('test'); var x = target.offsetLeft + target.offsetWidth / 2; var y = target.offsetTop + target.offsetHeight / 2; doubleClick(x, y);
Attachments
Note You need to log in before you can comment on or make changes to this bug.