Bug 255266
| Summary: | REGRESSION(r262728): elementsFromPoint misses elements if they are in different paint passes | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
| Component: | Layout and Rendering | Assignee: | Matt Woodrow <mattwoodrow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Matt Woodrow
https://commits.webkit.org/262728@main changed the behaviour such that we only write to the HitTestResult if we hit a layer in that paint behaviour pass.
For elementsFromPoint we don't record a single hit layer, and we to append to the HitTestResult for each element that we intersected.
This change always appends to the final HitTestResult if resultIsElementList().
This doesn't fix the problem that these appends are done in normal paint order, not 3d depth sorted order (if transform-style is preserve-3d), which is bug 255265.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/107862197>
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/12598
EWS
Committed 262897@main (21a87c580718): <https://commits.webkit.org/262897@main>
Reviewed commits have been landed. Closing PR #12598 and removing active labels.