[Webkit-unassigned] [Bug 50564] End/Home keys do not work in a contentEditable element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 21 14:35:04 PDT 2011


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





--- Comment #6 from Ryosuke Niwa <rniwa at webkit.org>  2011-04-21 14:35:04 PST ---
(From update of attachment 90601)
View in context: https://bugs.webkit.org/attachment.cgi?id=90601&action=review

> Source/WebCore/editing/visible_units.cpp:1160
> +        if (editableRoot && visPos.deepEquivalent().containerNode() != editableRoot && !visPos.deepEquivalent().containerNode()->isDescendantOf(editableRoot))

You can do: editableRoot  && !editableRoot->contains(visPos.deepEquivalent().containerNode()).

But shouldn't we do this inside honorEditableBoundaryAtOrBefore/honorEditableBoundaryAtOrAfter?

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