[Webkit-unassigned] [Bug 16279] VisiblePosition::canonicalPosition can wrongly return a Position object with a null m_node

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 14 13:58:59 PDT 2010


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





--- Comment #6 from Enrica Casucci <enrica at apple.com>  2010-06-14 13:58:58 PST ---
I don't think this is the right thing to do. I agree that it avoids potential crashes, but it also changes completely the semantics of canonicalizePosition. From my understanding, it should always return a candidate or a null Position. If we return the original position we don't know whether is was found to be a candidate or not.
Do all the layout tests still pass with this change?

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