[Webkit-unassigned] [Bug 25312] 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 13:51:01 PDT 2009


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





------- Comment #4 from justin.garcia at apple.com  2009-04-23 13:51 PDT -------
I don't know that Position checks it's offset to see if it's valid.  Perhaps
this could be the problem (from RenderObject::createVisiblePosition):

        // Find non-anonymous content before.
        renderer = child;
        while ((renderer = renderer->previousInPreOrder())) {
            if (renderer == parent)
                break;
            if (Node* node = renderer->node())
                return VisiblePosition(node, numeric_limits<int>::max(),
DOWNSTREAM);
        }


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