Bug 284698
| Summary: | Remove unnecessary rounding leading to subpixel issues in elementToPoint hit testing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Layout and Rendering | Assignee: | Ahmad Saleem <ahmad.saleem792> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
Hi Team,
It seems we are doing unnecessary rounding here:
https://searchfox.org/wubkat/rev/d81c1b27d2ba489e7f086c79af5da4235e0308ee/Source/WebCore/rendering/HitTestLocation.cpp#31
and fixing it progress - https://wpt.fyi/results/css/cssom-view/elementFromPoint-subpixel.html?label=master&label=experimental&aligned&q=elementfrompoint-subpixel
Just raising, so we can fix it.
Will do draft PR to see fall out on EWS.
Thanks!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/141496802>
Ahmad Saleem
Pull request: https://github.com/WebKit/WebKit/pull/37975
Ahmad Saleem
*** This bug has been marked as a duplicate of bug 294571 ***