Bug 262585

Summary: ScrollView::convertChildToSelf / convertSelfToChild fail to take top content inset into account
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: WebCore Misc.Assignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2023-10-03 16:05:11 PDT
ScrollView::convertChildToSelf() and convertSelfToChild() offset the point by the scroll position, but this fails to take top content inset, and left-side scrollbars into account. This code path isn't hit in general browsing, but future PDF plugin code needs it to work.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-10-03 16:05:28 PDT
Simon Fraser (smfr)
Comment 2 2023-10-03 16:22:20 PDT
EWS
Comment 3 2023-10-05 14:11:40 PDT
Committed 268942@main (7b193c245074): <https://commits.webkit.org/268942@main> Reviewed commits have been landed. Closing PR #18594 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.