Bug 219515

Summary: [LFC][Integration] REGRESSION: Event handler region is wrong
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase
none
Screenshot
none
Patch
none
Patch
none
Patch none

Description Simon Fraser (smfr) 2020-12-03 15:35:49 PST
Created attachment 415360 [details]
Testcase

Attached testcase has some event region leaking out of the element for the inline text.
Comment 1 Simon Fraser (smfr) 2020-12-03 15:36:01 PST
Created attachment 415361 [details]
Screenshot
Comment 2 Simon Fraser (smfr) 2020-12-03 15:38:15 PST
In LineLayout::paint() the event region is built using visualOverflowRect but it looks like that needs to be offset with paintOffset.
Comment 3 Radar WebKit Bug Importer 2020-12-03 15:39:59 PST
<rdar://problem/71955706>
Comment 4 zalan 2020-12-14 20:18:51 PST
Created attachment 416222 [details]
Patch
Comment 5 zalan 2020-12-15 08:12:37 PST
Created attachment 416248 [details]
Patch
Comment 6 zalan 2020-12-15 09:16:26 PST
Created attachment 416254 [details]
Patch
Comment 7 EWS 2020-12-15 09:47:52 PST
Committed r270848: <https://trac.webkit.org/changeset/270848>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 416254 [details].