Bug 191702
| Summary: | [macOS] When using NSTextFinder with WKWebView, highlight and hole positions don’t account for scroll offset and insets | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | mitz |
| Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | Keywords: | InRadar |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
mitz
To reproduce, make a new MiniBrowser WK2 window, navigate to <https://webkit.org/>, choose Edit > Find > Find, and type “ope” in the Find banner. Notice that the highlight and the hole are vertically offset by the height of the window’s overlay toolbar. Scroll down and repeat and notice that the highlight and the hole positions don’t account for the scroll offset either.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
mitz
<rdar://problem/46082148>
mitz
This got reported again as 199815 and fixed there.
*** This bug has been marked as a duplicate of bug 199815 ***