mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-09 21:01:58 -04:00
The AX writer probed the whole ancestor chain three times per node (prune, ignored, childIds) and elementFromPoint once per node, although neither ever descends into a hidden element, so below the walk root only the element's own display can change the verdict. The AX walk now prunes on the element's own attributes and cascade and hands writeNode the verdict; the root and the query walk keep the chain probe. elementFromPoint carries the verdict down its stack while still counting hidden nodes, so positions keep agreeing with getBoundingClientRect.