

Re: [whatwg] (X)HTML + SMIL?

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sun, 28 Dec 2008 08:13:25 +1300
Message-ID: <11e306600812271113l1c2e0dacj17bce25870c4c1b0@mail.gmail.com>
To: "Giovanni Campagna" <scampa.giovanni@gmail.com>
Cc: public-xhtml2@w3.org, www-smil@w3.org, whatwg@whatwg.org, www-style@w3.org
On Sun, Dec 28, 2008 at 5:15 AM, Giovanni Campagna <
scampa.giovanni@gmail.com> wrote:

> 2) CSS Transitions, that currently are WebKit propietary extensions, can be
> implemented using SMIL Animation Module. What is more important, many
> browsers already implement SMIL Animations on SVG elements, so they could
> easilily port them to XHTML2 (or 5 if they prefer)

CSS Transitions and SMIL Animations are actually quite different. CSS
Transitions provide for smooth transitions whenever the computed value of a
CSS property changes; they provide no way to actually *cause* a change in a
property value. SMIL can cause changes in property values (changes that
occur during the cascade and therefore can be inherited etc), but it can't
automatically smooth transitions whenever a CSS computed value changes.

Because they're complementary, at Mozilla we're keen to support both CSS
Transitions and SMIL Animations (for SVG, at least). But discussion of CSS
Transitions vs SMIL Animation should happen on www-style, not in the
public-xhtml2 or whatwg lists.

Received on Saturday, 27 December 2008 19:14:18 GMT
