Bug 264311

Summary: Fix an issue where hit detection could fail on rect
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: sabouhallawa, simon.fraser, webkit-bug-importer, ysuzuki, zimmermann
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://jsfiddle.net/h2nr3tej/show

Ahmad Saleem
Reported 2023-11-06 18:37:59 PST
Hi Team, While going through Blink's commit, I came across another failing test case around SVG hittesting: Test case: https://jsfiddle.net/h2nr3tej/show ^ Clicking in between shapes would show 'PASS' or 'Fail'. WebKit ToT fails. Chrome Canary 121 & Firefox Nightly 121 passes this test case. Blink Commit: https://chromium.googlesource.com/chromium/blink/+/58dc9425d5ccf22e3a2676af616244fbb7cdbef4 Just wanted to raise to see, if we can merge above and fix another failing test case. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2023-11-13 18:38:13 PST
Said Abou-Hallawa
Comment 2 2023-11-14 10:49:03 PST
I do not see a problem clicking the strokes of the shapes in the test case https://jsfiddle.net/h2nr3tej/show. You have to click the inner half of the stroke because the outer half is drawn outside the shape. After clicking all the shapes, I always get PASS.
Note You need to log in before you can comment on or make changes to this bug.