Fire ANIMATED state change events
Categories
(Core :: Disability Access APIs, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: eeejay, Assigned: eeejay)
References
Details
Attachments
(3 files)
If an image's source changes to/from an animated gif we need to fire an ANIMATED state change. I don't know if listening for a src
attribute change is enough here since it might still need to load the image to know if it is animated. A better indicator is nsAccessibilityService::NotifyOfImageSizeAvailable
, but we will need to store the previous state for that.
Assignee | ||
Comment 1•3 years ago
|
||
Changing severity to S3 because this is ongoing cache the world work that does not affect current users.
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Use imgINotificationObserver to get notified of size availability.
Layout uses an observer to wait for this too. Our observer is notified
after layout so we should have bounds by then.
We need to store the request status because we get a lot of "replayed"
status changes that would cause chatty and wrong state change events
when the accessible is first created and bound to parent.
We can use that status for both INVISIBLE and ANIMATED states in
NativeState.
Depends on D127718
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D127719
Pushed by eisaacson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9c132ebfabb2 P1: Add test for late-loading image and INVISIBLE change. r=Jamie https://hg.mozilla.org/integration/autoland/rev/352c6a7ae5cd P2: Make ImageAccessible an imgINotificationObserver. r=Jamie https://hg.mozilla.org/integration/autoland/rev/7753b03a092a P3: Add ANIMATED state change notification to ImageAccessible. r=Jamie
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Pushed by eisaacson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c5d218eb6acb P1: Add test for late-loading image and INVISIBLE change. r=Jamie https://hg.mozilla.org/integration/autoland/rev/910aebecda65 P2: Make ImageAccessible an imgINotificationObserver. r=Jamie https://hg.mozilla.org/integration/autoland/rev/af8436178a49 P3: Add ANIMATED state change notification to ImageAccessible. r=Jamie
Comment 8•3 years ago
|
||
Backed out for Bp-hybrid bustages on ImageAccessible
Backout link: https://hg.mozilla.org/integration/autoland/rev/acc023ae7f611c778481eb6bce33c2f319e9fc10
Log link: https://treeherder.mozilla.org/logviewer?job_id=354415748&repo=autoland&lineNumber=84327
Assignee | ||
Updated•3 years ago
|
Pushed by eisaacson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/30572d7dd9dd P1: Add test for late-loading image and INVISIBLE change. r=Jamie https://hg.mozilla.org/integration/autoland/rev/0133dadaf3eb P2: Make ImageAccessible an imgINotificationObserver. r=Jamie https://hg.mozilla.org/integration/autoland/rev/10f92eac8bc7 P3: Add ANIMATED state change notification to ImageAccessible. r=Jamie
Comment 10•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/30572d7dd9dd
https://hg.mozilla.org/mozilla-central/rev/0133dadaf3eb
https://hg.mozilla.org/mozilla-central/rev/10f92eac8bc7
Description
•