[Webkit-unassigned] [Bug 89649] New: Caret position is wrong when a editable container has word-wrap:break-word set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 21 04:00:32 PDT 2012


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

           Summary: Caret position is wrong when a editable container has
                    word-wrap:break-word set
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pravind.2k4 at gmail.com
                CC: rniwa at webkit.org


Issue : The position of the caret when we type in a text that goes beyond the visual limit of a editable container which has style="word-wrap:break-word"


Step to reproduce:

<div contenteditable="true" style="height:50px;overflow:auto;width:500px;word-wrap:break-word;">
SOMEFILLERTEXTSOMEFILLERTEXTSOMEFILLERTEXTSOMEFILLERTEXTSOMEFILLERTEXT
</div>

1) Open the code snippet in a browser.
2) Scroll to the end of the text using the horizontal scroll bar.
3) Press the END key and start typing. Observe the behavior.
4) Also in the above case (3) space characters cannot be inserted at the end.

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