[Webkit-unassigned] [Bug 64140] REGRESSION: Pressing return in a particular document sends the cursor to the end of the document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 16 17:24:28 PDT 2011


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


Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #101105|review?                     |review+
               Flag|                            |




--- Comment #7 from Simon Fraser (smfr) <simon.fraser at apple.com>  2011-07-16 17:24:28 PST ---
(From update of attachment 101105)
View in context: https://bugs.webkit.org/attachment.cgi?id=101105&action=review

> Source/WebCore/ChangeLog:9
> +        The fix consists in detecting that the insertion point is a break element and simply insert another

insert -> inserting

> Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp:307
> +        if (visiblePos.deepEquivalent().anchorNode()->renderer()->isBR()) {

Is anchorNode() guaranteed to have a renderer?

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