W3C home > Mailing lists > Public > www-svg@w3.org > June 2015

SVG animations without SMIL

From: Philip Rogers <pdr@google.com>
Date: Tue, 2 Jun 2015 10:29:43 -0700
Message-ID: <CAJgFLLukAUAv7qrWfR8qkavW7Fm=4LSZAn4QoK2f8bm1=3jmCg@mail.gmail.com>
To: "www-svg@w3.org" <www-svg@w3.org>
www-svg,

Animating SVG content without SMIL can be difficult and I'd like kick off a
discussion on how to improve it. This recently came up because IE does not
have plans to support SMIL and Blink is moving towards removing support as
well.

Two projects at Google switched from SMIL to CSS animations and an issue we
hit was that useful graphics attributes such as 'd' are not yet
presentation attributes. Only attributes promoted to presentation
attributes can be animated with CSS. Would it be possible to have even more
attributes become presentation attributes in SVG2? Making 'd' and
'transform' presentation attributes has been discussed before but seems to
have petered out. For folks not familiar with CSS animations, I created a
small demo showing how they work: http://philiprogers.com/smilandcss.html

A second set of issues is the feature gap between web animations / css
animations and SMIL. These are probably best addressed in www-syle but they
are worth pointing out; Brian outlined a number of these in
https://birtles.wordpress.com/2015/05/01/what-do-we-do-with-smil.
Received on Tuesday, 2 June 2015 17:30:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:41 UTC