W3C home > Mailing lists > Public > www-svg@w3.org > February 2012

Re: Agenda request: Presentation attributes in animation sandwich model

From: Alex Danilo <adanilo@google.com>
Date: Wed, 29 Feb 2012 11:14:34 +1100
Message-ID: <CAGdNekROayhbdVgFsb+Tf+gNPgbX8VUXsyO=J=JtoYG5J7KV3w@mail.gmail.com>
To: Glenn Adams <glenn@skynav.com>
Cc: Brian Birtles <bbirtles@mozilla.com>, Dirk Schulze <dschulze@adobe.com>, "SVG WG (public-svg-wg@w3.org)" <public-svg-wg@w3.org>, "www-svg@w3.org" <www-svg@w3.org>
Hi Glenn,

On Tue, Feb 28, 2012 at 7:30 PM, Glenn Adams <glenn@skynav.com> wrote:

> On Mon, Feb 27, 2012 at 11:22 PM, Brian Birtles <bbirtles@mozilla.com>wrote:
>> Having thought about this a little more (and having been persuaded by
>> others), I think we can probably get away with the syntax divide.
>> Ultimately the rule might look something like "animations applied through
>> the style system sit on top of those applied directly to the elements."
>> That would still allow a lot of the future situations I have in mind (e.g.
>> CSS animations adding to SVG, SVG animations being applied through CSS
>> etc.) Even if we were to phrase it as "CSS beats SVG" we could make it more
>> generic later.
>> Also, even with such a rule, I've been persuaded that it will still be
>> possible to add more fine-grained control later so that we could have, for
>> example, an SVG animation adding on top of a CSS one.
> By "on top of" to you mean "has priority over"? The former expression is
> vague, so please clarify.

I think (correct me if wrong Brian) what he means is making the CSS
animation be another layer in the SMIL sandwich model.

This is something I suggested a while ago (without thinking it through

The vague idea was to have a CSS animation as just another layer in the
SMIL sandwich model so you could use both and it'd do something useful.

Right now the advantage of CSS animation is that it's easy to map to a H/W
accelerated animation engine whilst I don't believe that's the case for

We would ideally like to be able to H/W accelerate as much as possible so
reconciling SMIL and CSS animations into something sensible that could map
to H/W capabilities would be awesome.

How we get there is another thing - and I'd welcome input from everyone
about how they think this could be achieved.

Received on Wednesday, 29 February 2012 00:15:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:34 UTC