Closed
Bug 1816094
Opened 2 years ago
Closed 2 years ago
[CTW] Simplify caching of text bounds
Categories
(Core :: Disability Access APIs, task)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
112 Branch
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
While working on bug 1816022, I had an idea that will simplify the calculation of text bounds a little in LocalAccessible::BundleFieldsForCache.
Assignee | ||
Comment 1•2 years ago
|
||
Previously, we retrieved an ancestor frame and various rects and used a transform to make continuation char rects relative to their primary frame.
Since all we need is an offset, we can just use nsIFrame::GetOffsetTo, which does all of this for us.
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bfecd6efa53d
Simplify calculation of character bounds in LocalAccessible::BundleFieldsForCache. r=morgan
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox112:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•