W3C home > Mailing lists > Public > www-style@w3.org > March 2011

Re: Using CSS Transitions/Animations with SVG attributes

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sat, 19 Mar 2011 22:45:59 +1300
Message-ID: <AANLkTikSM6xpL7mKTCqf4bQtRzeGvjNGnCvUsVtx-EUB@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style list <www-style@w3.org>
On Sat, Mar 19, 2011 at 5:13 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> The biggest problem with SMIL is that it's not CSS.  ^_^  It's a
> different animation model that's only applicable to SVG (plus maybe
> other languages that aren't really part of the web).  It won't ever be
> applicable to HTML.

SMIL can be used to animate CSS properties and there's no reason why it
can't, or shouldn't, be used to animate CSS properties on HTML elements. We
won't want to support SMIL animation of presentational HTML attributes, but
those are deprecated anyway.

 CSS Transitions/Animations are already usable
> across HTML, and on the handful of SVG attributes that are currently
> mapped to properties (the list of which is pretty arbitrary).  It
> appears that CSS T/A is the most reasonable way forward if we want a
> single animation model for the web (which seems like a desirable
> goal).

I disagree. For the use-case of an animated vector image (like those
ubiquitous Flash ads), I do not want to see all the animation stored in a
style sheet. It belongs in the content.

"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Saturday, 19 March 2011 09:46:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:57 UTC