[Webkit-unassigned] [Bug 25193] New: rangeFromLocationAndLength may set a Range endpoint to a non-range compliant Position

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 14 17:11:34 PDT 2009


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

           Summary: rangeFromLocationAndLength may set a Range endpoint to a
                    non-range compliant Position
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: justin.garcia at apple.com
                CC: ap at webkit.org


TextIterator::rangeFromLocationAndLength does:

Position runEnd = VisiblePosition(runStart).next().deepEquivalent();
if (runEnd.isNotNull()) {
    ExceptionCode ec = 0;
    textRunRange->setEnd(runEnd.node(), runEnd.m_offset, ec);
    ASSERT(!ec);
}

runEnd may not be Range compliant.


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