Bug 82198 - Insertion point jumps when using link detection
Summary: Insertion point jumps when using link detection
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 85463
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-26 06:36 PDT by equinux AG
Modified: 2013-04-29 15:24 PDT (History)
8 users (show)

See Also:


Attachments
Sample document (198 bytes, text/html)
2012-03-26 06:37 PDT, equinux AG
no flags Details
proposed patch (6.42 KB, patch)
2013-04-25 17:08 PDT, Yi Shen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description equinux AG 2012-03-26 06:36:38 PDT
Steps to reproduce:

1. Open the attached HTML document in Safari.
2. Make sure automatic link detection is enabled (Edit > Substitutions > Smart Links).
3. Place the insertion point at the beginning of the text "Lorem ipsum".
4. Type "www.equinux.com".


Expected Results:

Text field should contain this: www.equinux.comLorem ipsum


Actual Results:

After typing the second period the insertion point jumps past the word "Lorem". In the end, the text field contains this: www.equinux.Lorem comipsum
Comment 1 equinux AG 2012-03-26 06:37:11 PDT
Created attachment 133792 [details]
Sample document
Comment 2 Ryosuke Niwa 2012-05-02 23:08:38 PDT
Could someone triage this bug?
Comment 3 Alexey Proskuryakov 2012-05-03 00:00:44 PDT
I can reproduce this in Safari 5.1.5, but in ToT, smart links appear to be completely broken. Filed bug 85463.
Comment 4 Yi Shen 2013-04-25 17:08:37 PDT
Created attachment 199766 [details]
proposed patch
Comment 5 Ryosuke Niwa 2013-04-25 17:38:36 PDT
I can’t reproduce this problem anymore. Can you?
Comment 6 Yi Shen 2013-04-29 14:28:16 PDT
Thanks for review. Yes, I can reproduce this bug on Mac with the latest webkit code. 
(In reply to comment #5)
> I can’t reproduce this problem anymore. Can you?
Comment 7 WebKit Commit Bot 2013-04-29 15:24:12 PDT
Comment on attachment 199766 [details]
proposed patch

Clearing flags on attachment: 199766

Committed r149322: <http://trac.webkit.org/changeset/149322>
Comment 8 WebKit Commit Bot 2013-04-29 15:24:14 PDT
All reviewed patches have been landed.  Closing bug.