[Webkit-unassigned] [Bug 17697] New: Selection placed after anchor but typing types into anchor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 6 12:14:17 PST 2008


           Summary: Selection placed after anchor but typing types into
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: PC
               URL: http://jparent.googlepages.com/trappedInAnchorExample.ht
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jparent at google.com

Repro steps:
1. Go to example page:
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

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list