[Webkit-unassigned] [Bug 100403] contenteditable incorrectly swaps nodes on deletion

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 23 22:29:10 PST 2012


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





--- Comment #4 from Ryosuke Niwa <rniwa at webkit.org>  2012-12-23 22:31:21 PST ---
(From update of attachment 180637)
View in context: https://bugs.webkit.org/attachment.cgi?id=180637&action=review

> Source/WebCore/editing/DeleteSelectionCommand.cpp:484
> +                    updatePositionForNodeRemoval(m_downstreamEnd, children[i].get());
> +                    removeNode(children[i]);

You shouldn't have to call updatePositionForNodeRemoval. DeleteSelectionCommand::removeNode should automatically take care of that.

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