- From: Sebastian Zartner via GitHub <noreply@w3.org>
- Date: Sun, 03 Aug 2025 23:34:06 +0000
- To: public-css-archive@w3.org
Thank you, @LeaVerou, for raising the issue in the Media WG! It seems, adding animated images to the allowed media types for temporal media fragments requires re-chartering the Media Fragments Working Group.
To avoid that dependency, we might go the way suggested by @Crissov above and introduce URL modifiers for that.
Those could be two functions `start(<time [0s,∞]>)` and `end(<time [0s,∞]>)` plus possibly a `range(<time [0s,∞]>, <time [0s,∞]>)` function (maybe with a `time-` prefix to avoid ambiguities).
With those, the example above could be expressed as
```css
background-image: src("https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExeXhmc3Q4dzIzZGJ5NzJ2dGUwaTlwNHdkaHRzeDk0bWI5eXpyazJ0aCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/13FrpeVH09Zrb2/giphy.gif" end(3s));
```
Sebastian
--
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12558#issuecomment-3148776038 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 3 August 2025 23:34:07 UTC