WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
17697
Selection placed after anchor but typing types into anchor
https://bugs.webkit.org/show_bug.cgi?id=17697
Summary
Selection placed after anchor but typing types into anchor
Julie Parent
Reported
2008-03-06 12:14:17 PST
Repro steps: 1. Go to example page:
http://jparent.googlepages.com/trappedInAnchorExample.html
2. Notice that the cursor is blinking after "link" and before "afterlink" (startContainer = endContainer = 'afterlink' text node) 3. Type any character Result: Character goes inside of the link Expected result: Character goes outside of the link More dramatic repro: 1. Set the cursor to select the 'a' in 'afterlink' (change endOffset to 1). 2. Type any character. Result: 'a' is deleted and newly typed character is inside the link Expected result: 'a' is replaced by the character you type. Also repros in nightly and OS X 10.4.11
Attachments
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2008-04-23 15:38:34 PDT
<
rdar://problem/5885039
>
Alexey Proskuryakov
Comment 2
2008-04-23 23:30:11 PDT
See also:
bug 15256
.
David Kilzer (:ddkilzer)
Comment 3
2008-08-01 15:31:39 PDT
(In reply to
comment #1
)
> <
rdar://problem/5885039
>
Marked duplicate of radar for
Bug 15256
.
Justin Garcia
Comment 4
2009-02-03 21:56:40 PST
We fixed this in
http://trac.webkit.org/changeset/38683
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug