[Webkit-unassigned] [Bug 235726] New: AX: Isolated tree object frames no longer encode content offsets, so hit testing should be updated accordingly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 27 12:09:21 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235726

            Bug ID: 235726
           Summary: AX: Isolated tree object frames no longer encode
                    content offsets, so hit testing should be updated
                    accordingly
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tyler_w at apple.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

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.
#if ENABLE(ACCESSIBILITY_ISOLATED_TREE)
        applyContentOffset = !WebCore::AXObjectCache::isIsolatedTreeEnabled();
#endif

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220127/d9cd56d2/attachment-0001.htm>


More information about the webkit-unassigned mailing list