Reland "Do not return InlineTextBox nodes from UIA GetEnclosingElement"
This is a reland of 507f4ee8 It seems like CL:1935027 caused the failures and the revert. Once this change relands with a fix (CL:1935212), I'll reland this one. Original change's description: > Do not return InlineTextBox nodes from UIA GetEnclosingElement > > In AXPlatformNodeTextRangeProviderWin, nodes with role kInlineTextBox > should never be exposed to UIA. This CL introduces a simple fix. > > In GetEnclosingElement(), if the enclosing node is an inline text box, > we simply return its parent. I also updated a unit test for this case. > > Bug: 928948 > Change-Id: I31a31566461c3091bed36ebad626c4f51afc55a3 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1931753 > Commit-Queue: Benjamin Beaudry <benjamin.beaudry@microsoft.com> > Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com> > Cr-Commit-Position: refs/heads/master@{#718920} Bug: 928948 Change-Id: I6dbac3eae0a17d29f13c3d6b75532018729782de Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1937134Reviewed-by:Kurt Catti-Schmidt <kschmi@microsoft.com> Commit-Queue: Benjamin Beaudry <benjamin.beaudry@microsoft.com> Cr-Commit-Position: refs/heads/master@{#719387}
Showing
Please register or sign in to comment