Bug 17697

Summary: Selection placed after anchor but typing types into anchor
Product: WebKit Reporter: Julie Parent <jparent>
Component: HTML EditingAssignee: 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
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
David Kilzer (:ddkilzer)
Comment 1 2008-04-23 15:38:34 PDT
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
Note You need to log in before you can comment on or make changes to this bug.