forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1819802 part 1: When getting cached a11y character bounds, return…
… a single rect rather than an array of rects. r=morgan When hit testing, we retrieve the bounds for every character in a text leaf in a separate call. Because we need to convert from an array of flat ints to rects, this previously meant we built the entire array for every character. For a large text leaf, building this rect array is relatively expensive. We only need a single rect at a time. Therefore, RemoteAccessibleBase now returns the rect for a single requested character instead of building an array of rects. Differential Revision: https://phabricator.services.mozilla.com/D171419
- Loading branch information
Showing
4 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters