Bug 27177 (ShiftArrow) - After double-clicking a word, using Shift-arrow to select behaves unpredictably
Summary: After double-clicking a word, using Shift-arrow to select behaves unpredictably
Status: RESOLVED FIXED
Alias: ShiftArrow
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Darin Adler
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2009-07-11 10:21 PDT by Darin Adler
Modified: 2009-07-15 14:37 PDT (History)
0 users

See Also:


Attachments
patch, needs regression test, change log (3.53 KB, patch)
2009-07-11 10:21 PDT, Darin Adler
no flags Details | Formatted Diff | Diff
patch (12.09 KB, patch)
2009-07-14 10:30 PDT, Darin Adler
sullivan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2009-07-11 10:21:03 PDT
1. Find some text on a web page
2. Double-click in the middle of a word to select it
3. Hold down Shift and hit the right arrow key a few times
4. Note that one of two things happens:

(1) the word that was originally selected stays selected and the selection extends more characters to the right
(2) the left edge of the selection moves to the point where you double-clicked in Step 2

(1) is correct, but (2) is incorrect

<rdar://problem/7034324>
Comment 1 Darin Adler 2009-07-11 10:21:59 PDT
Created attachment 32613 [details]
patch, needs regression test, change log
Comment 2 Darin Adler 2009-07-14 10:30:32 PDT
Created attachment 32720 [details]
patch
Comment 3 John Sullivan 2009-07-15 06:13:34 PDT
Comment on attachment 32720 [details]
patch

> +        Remvoe code that sets m_lastChangeWasHorizontalExtension; that is now handled elsewhere. 

Typo, "Remvoe"
Comment 4 Darin Adler 2009-07-15 14:37:49 PDT
http://trac.webkit.org/changeset/45945