Closed Bug 1774393 Opened 3 years ago Closed 3 years ago

[CTW] Implement BoundsInCSSPixels for cached RemoteAccessible

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

Details

Attachments

(1 file)

Our hit testing tests rely on BoundsInCSSPixels. With the cache enabled, these crash on Windows because we can't use COM. On other platforms, we fall back to sync IPDL. We should implement BoundsInCSSPixels using the cache.

Our hit testing tests need this.
This adds a base Accessible::BoundsInCSSPixels implementation which relies on BoundsInAppUnits.
BoundsInAppUnits was also moved to Accessible, but it is implemented differently for local and remote, so the base method is abstract.
I also did a drive-by removal of a pointless conditional in xpcAccessible::GetBounds.

Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/28df80439b34 Support BoundsInCSSPixels for cached RemoteAccessible. r=morgan
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: