Chromium Code Reviews
DescriptionAccessible setSelection function should use VisiblePositions
The accessible setSelection function tries to select text in the DOM based
on nodes and text offsets within the accessibility tree. However, this
was implemented assuming that the text offsets were Positions, but they
should actually be VisiblePositions, since typically redundant whitespace
is not displayed visibly and similarly not included in the accessible name
of text nodes.
BUG=602455
Committed: https://crrev.com/9618f0ed66c582e8791fa6d37459056698ec1778
Cr-Commit-Position: refs/heads/master@{#393722}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add test for selecting whole element #
Messages
Total messages: 21 (8 generated)
|
|||||||||||||||||||||||||||||||||||||