W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2010

Re: CSS SVG Discussion on Thursday

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 3 Nov 2010 08:20:00 +1300
Message-ID: <AANLkTim+SJUskcG-v68TEa+Q1zuW7NMnSwJs+38m74cQ@mail.gmail.com>
To: Dean Jackson <dino@apple.com>
Cc: Patrick Dengler <patd@microsoft.com>, public-fx@w3.org
On Wed, Nov 3, 2010 at 7:54 AM, Dean Jackson <dino@apple.com> wrote:

> Some of the complaints against SMIL/SVG animation is that it mixes the
> animation with the content, but that doesn't need to be so. It would be
> fairly simply to define behaviour of an "animation sheet", referenced by a
> <link> element, that is an external file containing the animations. I'd
> suggest adding a selector attribute to the animation elements to replace
> xlink:href.
>

Maybe CSS animation is more appropriate for those use-cases?

- add a selector attribute to SMIL (possibly deprecating xlink:href) that
> would allow SMIL animations to apply to a collection of elements
>

I instinctively dislike the idea of selectors in content :-). If the author
really wants selectors, isn't that likely to be a use-case favouring CSS
animations?

If we need to support a single content animation applying to multiple
elements, we could add an SVG Animation (hereafter SVGA) feature to let
elements link to their animations as well as the current situation where
animations link to their elements. How does that sound?

BTW Patrick raised the question of whether SVGA should apply to HTML, which
I think means whether SVGA should be able to animate HTML attributes. I
believe it should not, mainly because HTML's presentational attributes are
deprecated. SVGA should certainly be able to animate CSS on HTML elements
though.

BTW^2 it's probably better to start using the term "SVG Animation" instead
of SMIL if we're going to diverge from the SMIL framework :-).

Rob
-- 
"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 Tuesday, 2 November 2010 19:20:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 November 2010 19:20:28 GMT