[Webkit-unassigned] [Bug 228529] New: WKFindResult does not include number of matches or position of highlighted match

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 27 17:12:03 PDT 2021


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

            Bug ID: 228529
           Summary: WKFindResult does not include number of matches or
                    position of highlighted match
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: 246g2wr4 at duck.com
                CC: kkinnunen at apple.com

An instance of WKFindResult is returned when using the Find In Page API, findString:withConfiguration:completionHandler:.

It includes a boolean flag, matchFound, but does not include the number of matches or the position of the currently highlighted match.

This enhancement would allow for UI similar to the Safari Find In Page search bar, e.g. "2 of 6 matches". Ideally, these would be available as two new Int properties on WKFindResult.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210728/5398765e/attachment.htm>


More information about the webkit-unassigned mailing list