[fuchsia][a11y] Apply device pixel scaling to hit tests
Hit test coordinates from the a11y-manager are relative to the registered view's coordinate space. When pixel scaling is on, this coordinate space is scaled to be a device-independent space. However, Chromium's semantic trees are scaled to the device resolution. This patch adds scaling of the received coordinates to compensate for this difference. Note that with this patch, Fuchsia highlights are still quite broken. There is likely some degree of scaling issue there, but the more major problem is fuchsia:62891. Fixed: fuchsia:59633 Change-Id: I1e4217592a48fe284a60b5edb294c21b855744a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2508322 Commit-Queue: Tess Eisenberger <teisenbe@google.com> Reviewed-by:Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:
Sharon Yang <yangsharon@chromium.org> Auto-Submit: Tess Eisenberger <teisenbe@google.com> Cr-Commit-Position: refs/heads/master@{#826637}
Showing
Please register or sign in to comment