Bug 17697
Summary: | Selection placed after anchor but typing types into anchor | ||
---|---|---|---|
Product: | WebKit | Reporter: | Julie Parent <jparent> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap, futurama, justin.garcia, ovafai |
Priority: | P2 | Keywords: | GoogleBug, HasReduction, InRadar |
Version: | 523.x (Safari 3) | ||
Hardware: | PC | ||
OS: | Windows XP | ||
URL: | http://jparent.googlepages.com/trappedInAnchorExample.html | ||
Bug Depends on: | 23793 | ||
Bug Blocks: |
Julie Parent
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)
<rdar://problem/5885039>
Alexey Proskuryakov
See also: bug 15256.
David Kilzer (:ddkilzer)
(In reply to comment #1)
> <rdar://problem/5885039>
Marked duplicate of radar for Bug 15256.
Justin Garcia
We fixed this in http://trac.webkit.org/changeset/38683