Closed Bug 1769640 Opened 2 years ago Closed 2 years ago

Cache AppUnitsPerDevPixel in top DocAccessibleParents

Categories

(Core :: Disability Access APIs, task)

All
Android
task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Whiteboard: [ctw-m1])

Attachments

(2 files)

In Android we need to retrieve AppUnitsPerDevPixel off main thread, to do that safely we will need to cache AUPDP in the DocAccessibleParent.

We used to get screen bounds from the gecko layer and needed to strip
the screen offsets for parent-relative offsets. It is now the opposite,
the bounds we get from gecko do not have the screen offsets of the top
View.

Depends on D146507

Attachment #9276795 - Attachment description: Bug 1769640 - P1: Cache AUPDP in top DocAccessibleParents. r?morgan,emilio → Bug 1769640 - P1: Cache content AUPDP in DocAccessibleParents. r?morgan,emilio
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a66a1215d772
P1: Cache content AUPDP in DocAccessibleParents. r=morgan,emilio
https://hg.mozilla.org/integration/autoland/rev/5a25c36f01ea
P2: Translate parent bounds to sceen bounds. r=geckoview-reviewers,agi
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: