[Webkit-unassigned] [Bug 56027] Assert that editing does not ignore position's anchorNode if position is an offset in anchor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 9 10:45:50 PST 2011


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





--- Comment #2 from Eric Seidel <eric at webkit.org>  2011-03-09 10:45:50 PST ---
(From update of attachment 85192)
View in context: https://bugs.webkit.org/attachment.cgi?id=85192&action=review

> Source/WebCore/dom/Position.cpp:97
> +    ASSERT(!m_anchorNode || !editingIgnoresContent(m_anchorNode.get()));

When is this ever called with a null anchorNode?

> Source/WebCore/dom/Position.cpp:103
> +    ASSERT(!editingIgnoresContent(m_anchorNode.get()));

Why validate m_anchorNode here as well?  Do you mean "node" isntead?

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