Re: [csswg-drafts] [css-images] Disabling image animation

This functionality seems to me as a natural extension of the [Media Fragments URI spec](https://www.w3.org/TR/media-frags/), assuming browsers ever get on board with fully implementing that spec. Then you could use something like:

```
<img src="user-upload.svg#play-state=paused"/>

background-image: icon.gif#t=2s&play-state=paused;
```

Using a URI hash to set the pause might help avoid the issue with HTML expecting all images with the same URL to animate in sync.

The downside, of course, is that you'd need to modify every URL, and therefore use JS to re-enable animations on content images.

Of course, it would _also_ very much like a user-controlled browser feature to disable auto-playing GIFs, etc.  But I do see a benefit to a website designer in being able to use these image formats but also being able to start and stop them.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1615#issuecomment-335194842 using your GitHub account

Received on Monday, 9 October 2017 15:35:44 UTC