[Webkit-unassigned] [Bug 50481] New: Caret is incorrectly painted if the final position follows non-editable content.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 3 13:40:27 PST 2010


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

           Summary: Caret is incorrectly painted if the final position
                    follows non-editable content.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: leviw at google.com


When the selection is a caret at the final position of an editable div immediately following non-editable content, the caret is painted at the right edge (or left edge in RTL) of the div instead of after the non-editable content. 

Consider this DOM:

DIV contenteditable=true
  SPAN contenteditable=false
     text "Foo"

Because the positions [SPAN, 1] or [text, 3] are not candidates, we end up with [DIV, 1], which is painted incorrectly despite being equivalent.

-- 
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