Bug 264311
| Summary: | Fix an issue where hit detection could fail on rect | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | SVG | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/118367737>
Said Abou-Hallawa
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.