[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 12:10:22 PST 2010


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


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jparent at google.com,
                   |                            |rniwa at webkit.org




--- Comment #9 from Ryosuke Niwa <rniwa at webkit.org>  2010-11-08 12:10:22 PST ---
(In reply to comment #8)
> When you say 'editing', do you mean the script that's initializing designmode, or another webkit component? In the first case, I don't see how the script can cause the BR to behave differently. In the second case, this bug should not be closed, but moved to the right component. The BR is part of the editable document, and should be treated as such.

Editing is the WebKit component to which this bug belongs.  I agree with Levi.  In WebKit, we don't render the very last BR that isn't followed by any content for compatibility reason regardless of whether we're in editable region or not.  The correct fix is for the script to insert two BRs 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