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

Re: Using CSS Transitions/Animations with SVG attributes

From: Daniel Weck <daniel.weck@gmail.com>
Date: Sat, 19 Mar 2011 11:16:31 +0000
Cc: Fabien Cazenave <fabien.cazenave@inria.fr>
Message-Id: <C3E61A3D-C57F-4C56-8957-B67616E317B2@gmail.com>
To: www-style list <www-style@w3.org>, Robert O'Callahan <robert@ocallahan.org>, "Tab Atkins Jr." <jackalmage@gmail.com>, Boris Zbarsky <bzbarsky@mit.edu>
On 19 Mar 2011, at 09:45, Robert O'Callahan wrote:
> 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.


I agree that this makes more sense for SVG. I should point out that  
for HTML, there's an implementation of SMIL Timesheets that supports  
external "sheets" (HTML content is referenced via selectors), as well  
as inline attributes (directly in the markup). The implementation  
proposes some pretty useful additions to the current W3C Timesheets  
standard, which I am sure will make their way into a future revision  
of the specification.

Take a look at this Timesheet example, it is a mashup of declarative  
timing, CSS transitions, SVG-based UI, etc.:

http://wam.inrialpes.fr/timesheets/annotations/audio.html

Below is a quote of my previous email regarding the use of SMIL for  
basic HTML timing and synchronization.

Regards, Dan

On 18 Mar 2011, at 17:02, Daniel Weck wrote:
> On 18 Mar 2011, at 16:13, Tab Atkins Jr. 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.
>
> http://wam.inrialpes.fr/timesheets/
>
> ;)
>
>> While we won't ever get rid of SMIL, given the weight of SVG 1.1
>> content on the web, we can at least make it unimportant for new
>> authors to learn.
>
> FYI: SMIL is also used in EPUB Media Overlays, which admittedly  
> isn't part of the web per-say, but it is an international open- 
> standard that relies heavily on web technologies (XHTML5, CSS3, PLS,  
> SSML, etc.). There are a few web-based EPUB reading systems, and  
> desktop/mobile ebook reading apps often rely on a web browser  
> component ... so SMIL is never too far from the web, really ;)
>
> http://epub-revision.googlecode.com/svn/trunk/build/spec/epub30-mediaoverlays.html
>
> Cheers, Dan
Received on Saturday, 19 March 2011 11:17:08 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:38 GMT