Bug 264311 - Fix an issue where hit detection could fail on rect
Summary: Fix an issue where hit detection could fail on rect
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://jsfiddle.net/h2nr3tej/show
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2023-11-06 18:37 PST by Ahmad Saleem
Modified: 2023-11-14 14:00 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 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!
Comment 1 Radar WebKit Bug Importer 2023-11-13 18:38:13 PST
<rdar://problem/118367737>
Comment 2 Said Abou-Hallawa 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.