[Webkit-unassigned] [Bug 89918] [Shadow] Triggers assertion in VisibleSelection::adjustSelectionToAvoidCrossingBoundaries()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 25 17:34:54 PDT 2012


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





--- Comment #2 from Shinya Kawanaka <shinyak at chromium.org>  2012-06-25 17:34:53 PST ---
I've investigated this bug. This is actually a bug of comparePositions().

In this test case, we have a call comparePosition(a, b) where deprecatedNode() and deprecatedEditingOffset() of a and b are the same but anchoryType() of a and b are different.

It's time to fix comparePosition() correctly.... We have to fix Bug 54535 issue.
As I mentioned in the issue, I would like to have an alternative version of comparePosition that distinguishes "position after img" from "position before br" (See the Bug 54535 comment).
To compare m_start and m_end, we should use the alternative version, I believe.

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