[Webkit-unassigned] [Bug 44417] New: Added WebCore::DocumentMarkerController API which returns vector describing all markers.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 23 05:31:12 PDT 2010


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

           Summary: Added WebCore::DocumentMarkerController API which
                    returns vector describing all markers.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: k.blank at samsung.com
                CC: gyuyoung.kim at samsung.com


I need functionality which returns the position of n-th marker so I could be able to show it in browser.

First of all I needed WebCore::DocumentMarkerController functionality which returns a vector of IntRects describing text matches markers.
Unfortunately Webcore::DocumentMarkerController::renderedRectsForMarkers() returns only rects in the visible part of document.
I added new functionality WebCore::DocumentMarkerController::firstRectsForMarkers() which returns needed vector. 
Prefix "first" means that function only return first IntRect for every marker.

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