[Webkit-unassigned] [Bug 23474] New: In a designMode document, the cursor can't be moved after the last BR node if there is no text following it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 22 03:53:07 PST 2009


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

           Summary: In a designMode document, the cursor can't be moved
                    after the last BR node if there is no text following it
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: PC
               URL: http://marijn.haverbeke.nl/codemirror/jstest.html
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P3
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: marijnh+webkit at gmail.com


If an editable document ends in a BR node (with any amount of non-displaying
nodes behind it), the cursor behaves as if the line before that BR node is the
last line of the document. Other browsers allow one to move the cursor to the
blank line at the end.

To reproduce, see the CodeMirror editor, which rebinds the enter key to just
insert a BR node and move the cursor after it. On load (see URL) the document
ends in a BR, but the cursor can't be moved to the blank line. When pressing
enter, typing something, and then pressing enter again, nothing seems to
happen, since the newly inserted BR creates the above situation, and the newly
created line is inaccessible.


-- 
Configure bugmail: https://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