Fire ANIMATED state change events
Categories
(Core :: Disability Access APIs, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: eeejay, Assigned: eeejay)
References
(Blocks 1 open bug)
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
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
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
|
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
•