Issue metadata
Sign in to add a comment
|
Offsets and nCharacters should relate to the same hypertext representation |
||||||||||||||||||||||||
Issue descriptionAll IAcccessibleText methods should use offsets and lengths that relate to the hypertext representation containing embedded object characters. They should not relate to the fully expanded text (e.g. accessible name or value). Currently if you have hypertext like: <embedded><embedded> The get_nCharacters() method should return 2, but sometimes returns a large number. Similarly, IA2_TEXT_OFFSET_LENGTH should be equivalent to using nCharacters.
,
Sep 29 2017
,
Sep 29 2017
,
Sep 29 2017
,
Oct 6 2017
,
Oct 6 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/07837b02379a6d0e128a971e6a8654282b99fe6a commit 07837b02379a6d0e128a971e6a8654282b99fe6a Author: Aaron Leventhal <aleventhal@chromium.org> Date: Fri Oct 06 15:15:44 2017 Offsets, nCharacters should relate to the same hypertext representation All IAcccessibleText methods should use offsets and lengths that relate to the hypertext representation containing embedded object characters. They should not relate to the fully expanded text (e.g. name or value). Currently if you have hypertext like: <embedded><embedded> The get_nCharacters() method should return 2, but sometimes returns a large number. Similarly, IA2_TEXT_OFFSET_LENGTH should be equivalent to using nCharacters. Bug: 770197 Change-Id: I6d6e77a60fd7b08e7a1f011ad5d6d2b81e8f3f7e Reviewed-on: https://chromium-review.googlesource.com/692336 Reviewed-by: Nektarios Paisios <nektar@chromium.org> Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> Cr-Commit-Position: refs/heads/master@{#507074} [modify] https://crrev.com/07837b02379a6d0e128a971e6a8654282b99fe6a/content/test/data/accessibility/aria/aria-textbox-with-rich-text-expected-win.txt [modify] https://crrev.com/07837b02379a6d0e128a971e6a8654282b99fe6a/content/test/data/accessibility/aria/aria-textbox-with-rich-text.html [modify] https://crrev.com/07837b02379a6d0e128a971e6a8654282b99fe6a/ui/accessibility/platform/ax_platform_node_win.cc
,
Oct 9 2017
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by aleventhal@chromium.org
, Sep 29 2017