Bug 36140
Summary: | doubleClick on Windows sometimes doesn't smart delete | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ojan Vafai <ojan> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows XP |
Ojan Vafai
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |