Bug 249233

Summary: Find on page does not scroll to result on build.webkit.org
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, rniwa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2022-12-13 09:47:29 PST
Load https://build.webkit.org/#/ and do a Find in Safari for "Ventura". Use Command-G to go to each instance. Note that the page fails to scroll to reveal them.

Seen in a build at 257090@main
Comment 1 Radar WebKit Bug Importer 2022-12-13 09:52:46 PST
<rdar://problem/103306268>
Comment 2 Simon Fraser (smfr) 2023-04-19 12:27:16 PDT
I dug into this a bit. It's something about VisiblePosition::canonicalPosition() which ends up creating a collapsed range.