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.
<rdar://problem/107862197>
Pull request: https://github.com/WebKit/WebKit/pull/12598
Committed 262897@main (21a87c580718): <https://commits.webkit.org/262897@main> Reviewed commits have been landed. Closing PR #12598 and removing active labels.