-
Notifications
You must be signed in to change notification settings - Fork 756
Open
Labels
Description
It would be nice to have a CSS property for disabling image animation. Use cases include:
- thumbnails
- Twitter-like "only animate images in focus"
- not wanting to animate user-uploaded content
- user stylesheets/extensions
I'm imagining something like image-animation: auto | none, where none would disable image animation on elements and background-images.
Semantics are slightly subtle to define, because HTML defines image animations as keyed by URL, instead of per element. I can think of two options:
- Paused images show the first frame (like how canvas's
drawImagebehaves) - Images that are ever shown as paused are animated individually
where the second seems tricker to implement (e.g., might include cloning SVG documents?) but also more useful than the first.
SebastianZ, ssokolow, DanHarkless, andyzickler, TejasQ and 14 more
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Regular agenda