Closed Bug 1798037 Opened 2 years ago Closed 2 years ago

Document bounds changes are not notified

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Whiteboard: [ctw-m3])

Attachments

(1 file)

This causes a rare case where the document will have a zero size because its single child has an initial zero size as well.

DocAccessible::GetAccessible() won't return the document if a root element
like body is passed. We need to check for that in NotifyOfPossibleBoundsChange
and use the document accessible in that case.

We can't modify GetAccessible() because that is not that method is used
extensively and that is not the expected behavior.

Assignee: nobody → eitan
Status: NEW → ASSIGNED
Severity: -- → S3
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fb8360cb5312
Notify of bounds change if root doc element is given. r=morgan
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: