In -[WKAccessibilityWebPageObjectMac accessibilityHitTest], we have a special isolated tree case:
// Isolated tree frames have the offset encoded into them so we don't need to undo here.
applyContentOffset = !WebCore::AXObjectCache::isIsolatedTreeEnabled();
The statement in the comment no longer seems to be true, as applying this content offset results in hit testing working incorrectly -- specifically, you have to hit test for a larger y-value than your target is actually located at.
Created attachment 450193 [details]
My original comment should say:
as **NOT** applying this content offset results in hit testing working incorrectly
It's correct in the Changelog.
Committed r288741 (246534@main): <https://commits.webkit.org/246534@main>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 450193 [details].