Improve accessible hit testing heuristic.
When doing recursive hit testing and the point falls within two children of the same element, prefer the one that has an indirect descendant (i.e. grandchild) match. A better fix would be to send an IPC to the renderer and let Blink do the hit testing, I filed another bug (357371) for that. This is a stopgap. Note, though, that we still need this hit testing algorithm for synchronous APIs (like on Windows), so it's worth improving this. BUG=357247 R=aboxhall@chromium.org Review URL: https://codereview.chromium.org/215633003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260161 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment