ampproject / ampproject/amphtml

Allow SVG animation elements

Open
#32,369 9 comments 0 reactions 1 assignee Assigned to @kristoferbaxter View on GitHub
P3: When Possible Type: Feature Request WG: caching
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

This is a follow up to #32329 which led to adding several filter primitive elements.

AMP currently doesn't allow any SVG [animation elements](https://developer.mozilla.org/en-US/docs/Web/SVG/Element#animation_elements). Should AMP allow the non-deprecated ones within SVGs?

These are:
- [animate](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animate)
- [animateMotion](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion)
- [animateTransform](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateTransform)
- [mpath](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mpath)
- [set](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/set)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.