[Webkit-unassigned] [Bug 54937] Remove calls to deprecatedEditingOffset in SelectionController and VisibleSelection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 23 19:30:34 PST 2011


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





--- Comment #10 from Ryosuke Niwa <rniwa at webkit.org>  2011-02-23 19:30:34 PST ---
(In reply to comment #9)
> (In reply to comment #7)
> > But this can't happen inside an input element because we always have div, and we should never have a position before/after this div...
> 
> This is the case I'm proposing we should assert, but if you're comfortable just saying it'll never happen you can go that route.

Maybe something like this?
ASSERT(start().isNull() || start().anchorType() == PositionIsInAnchorNode || start().containerNode() || !start().anchorNode()->shadowAncestorNode());

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