
Now that we handle move-by-format like we do move-by-word and character,
we need to call ExpandToEnclosingUnit like we do for words and
characters after a successful move. Otherwise, the new range ends at the
start of the next anchor, which confuses Narrator when fetching
attributes values.
(cherry picked from commit 346eb153c9
)
Fixed: 402800783, 404219232
Change-Id: Ie784644d3559723bc41bef0e4e43898ce2fc1605
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354024
Commit-Queue: Benjamin Beaudry <benjamin.beaudry@microsoft.com>
Auto-Submit: Benjamin Beaudry <benjamin.beaudry@microsoft.com>
Reviewed-by: Jacques Newman <janewman@microsoft.com>
Cr-Original-Commit-Position: refs/heads/main@{#1432987}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6366075
Commit-Queue: Jacques Newman <janewman@microsoft.com>
Cr-Commit-Position: refs/branch-heads/7049@{#913}
Cr-Branched-From: 2dab7846d0951a552bdc4f350dad497f986e6fed-refs/heads/main@{#1427262}
This directory contains UI frameworks used to build various user interface features. This directory is not intended to contain UI features (such as a keyboard).