[Webkit-unassigned] [Bug 49744] New: Undo moves caret to invalid position

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 18 10:33:07 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49744

           Summary: Undo moves caret to invalid position
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: leviw at google.com
                CC: leviw at google.com


Created an attachment (id=74253)
 --> (https://bugs.webkit.org/attachment.cgi?id=74253&action=review)
Undo moves caret

Pasting text into a contenteditable element then undoing the paste causes the caret to be moved semi-permanently to an invalid position before the padding (and within the border) of the editable element.

Steps to reproduce:
1) Open the attached document in Safari or Chrome (tested with Chrome 9 and Safari 5.0.2)
2) Highlight and copy the text at the top
3) Place the caret in the editable content -- note the position of the caret
4) Paste the text.
5) Undo the paste.

Expected result: Caret is back where it was at the beginning

Actual result: Caret has jumped to within the div's border!

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



More information about the webkit-unassigned mailing list