Double clicking certain type of inline element with contentEditable cannot select a clicked word. See attached test-case for concrete example. This one is similar to Bug 36359. But Its cause would be slightly different. So I file this one separately. reproduce: - open the test html - double-click "here" text expected: - selection range covers "here" actual: - the caret moves to the head of "here", with empty range.
Created attachment 51145 [details] test case
Created attachment 51152 [details] patch v0
Comment on attachment 51152 [details] patch v0 This patch depends Bug 36359. So I'll cancel this one at now.
Created attachment 56672 [details] took the feedback
Comment on attachment 56672 [details] took the feedback The patch was uploaded to wrong bug. So I'll cancel review request.
Created attachment 57209 [details] patch v7
Comment on attachment 57209 [details] patch v7 wrong bug id. canceled.
Attachment 57209 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1 WebCore/editing/TextIterator.cpp:1151: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 63697 [details] Patch
Comment on attachment 63697 [details] Patch wrong bug id again...
Committed r64974: <http://trac.webkit.org/changeset/64974>
*** Bug 34534 has been marked as a duplicate of this bug. ***