Fix language computation for root of accessibility tree.
I discovered that AXObject::Language() was not always returning the correct thing for the root element. The rest of the tree had the right value, but not the root. I updated an existing test to cover the case where the document's language is something other than English. AX-Relnotes: Fixes the computed language for some web pages. Bug: none Change-Id: I3e3bec73e9bded0df3c37bb3c8ba634d3d5018b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2226338 Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:Chris Hall <chrishall@chromium.org> Auto-Submit: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#774704}
Showing
Please register or sign in to comment