Bug 212534

Summary: Event regions are wrong in the scrolled contents layer
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: dbates, koivisto, simon.fraser
Priority: P2    
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=212545

Simon Fraser (smfr)
Reported 2020-05-29 11:08:01 PDT
The event region in the scrolled contents layer covers only the visible part, meaning that if you swipe then tap before we've done layout/rendering update, you get the wrong region types. RenderBlock::paintObject() uses: auto borderRect = LayoutRect(paintOffset, size()); which is obviously wrong for the contents of scrolled overflow.
Attachments
Note You need to log in before you can comment on or make changes to this bug.