[Webkit-unassigned] [Bug 23474] 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
Mon Nov 8 13:02:16 PST 2010


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





--- Comment #10 from Marijn Haverbeke <marijnh+webkit at gmail.com>  2010-11-08 13:02:16 PST ---
However, no other browser hides this trailing BR, and it'd require weird, webkit-specific code to drop it from the document 'as the user sees it', which, in CodeMirror, is not just the saving/exporting of the content, but also iterating over the lines, keeping an undo history (I recently had to fix two bug related to this magic BR and the undo history) and several other pieces of functionality.

In short, it's your rendering engine, so you have the last word, but you're really making things difficult for client code with this behaviour.

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