Bug 36140 - doubleClick on Windows sometimes doesn't smart delete
Summary: doubleClick on Windows sometimes doesn't smart delete
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2010-03-15 14:41 PDT by Ojan Vafai
Modified: 2010-03-15 14:41 PDT (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ojan Vafai 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);