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

Re: Agenda request: Presentation attributes in animation sandwich model

From: Daniel Holbert <dholbert@mozilla.com>
Date: Fri, 24 Feb 2012 14:47:06 -0800
Message-ID: <4F48136A.5070604@mozilla.com>
To: Dirk Schulze <dschulze@adobe.com>
CC: "SVG WG (public-svg-wg@w3.org)" <public-svg-wg@w3.org>, "www-svg@w3.org" <www-svg@w3.org>, "L. David Baron" <dbaron@dbaron.org>
On 02/24/2012 02:13 PM, Dirk Schulze wrote:
>> However, after a little testing, it looks like I was wrong on that -- it
>> appears that CSS animations override SMIL animations in Gecko right now,
>> when both are in play.
> Do CSS Transitions override SMIL animations as well?

Yes: at least in Gecko, the intermediate transitioned style does appear 
to override SMIL animations' style. (side-note: we do prevent SMIL 
animation from *triggering* CSS transitions, to keep from entering into 
a death-spiral)

Here's a testcase for transitions vs. SMIL:
 
http://people.mozilla.org/~dholbert/tests/smil/compat_tests/transitionsVsSMIL_v1.svg

At least on that testcase, webkit disagrees with gecko -- the 
transitioned style loses to the SMIL-animated style.  I tested Opera, 
too, but it wouldn't seem to honor the transition. (its documentation 
seems to suggest that it doesn't support CSS transitions on SVG content[1])

~Daniel

[1] 
http://dev.opera.com/articles/view/css3-transitions-and-2d-transforms/#introduction 
("This article will guide you through how to use CSS3 transitions and 
briefly touch on how the equivalent can also be achieved in SVG via SMIL.")
Received on Friday, 24 February 2012 22:47:34 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:50 GMT