Re: Dropping angle-bracket syntax for animation

On Mon, Aug 1, 2011 at 9:50 PM, Cameron McCormack <cam@mcc.id.au> wrote:

> Cameron McCormack:
>
>  > Well, you would still need to define what <g style="transform: ...">
>> > does.  Unless you wanted to drop the style="" attribute too.
>>
>
> Rik Cabanier:
>
>  From stand-alone SVG? I would say yes unless a lot of people already
>> rely on this.
>>
>
> I think a lot of people do rely on style="", since that is what Inkscape
> outputs.
>
>
>  > I would hope CSS Animations would work in this situation.
>>
>> I agree that it would be nice. I believe that none of the current
>> browsers support SMIL if the SVG is loaded through an <IMG> tag.
>>
>
> Firefox, WebKit and Opera all do run SMIL animations in SVG documents
> referenced from <img>.
>

Sorry about that! I remember running that experiment and only getting SMIL
to work with 'object' and 'embed'.

Rik

Received on Tuesday, 2 August 2011 06:21:12 UTC