[Webkit-unassigned] [Bug 25312] REGRESSION: Infinite loop in WebCore::Position::upstream while selecting a block of text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 23 14:10:05 PDT 2009


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





------- Comment #9 from justin.garcia at apple.com  2009-04-23 14:10 PDT -------
> Position doesn't check the offset

Ya, and I don't think we should here because I believe we allow invalid
positions for ending selections that won't be valid until Undo.

> but I think VisiblePosition should.

maybe.  although validation here would require an extra call to
nodeIndex/childnodecount in some situations.  probably just fix it at the call
site.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list