W3C home > Mailing lists > Public > www-svg@w3.org > September 2008

Interaction between discard and animation element

From: Julien Reichel <Julien.Reichel@spinetix.com>
Date: Mon, 15 Sep 2008 18:12:36 +0200
Message-ID: <364D31930BDB974AB40E22C5C2E584ED10D4F0@asterix.SPINETIX.local>
To: <www-svg@w3.org>

Hi,

What happens when an SVG files (1.2 tiny) is included in another file
with an <animation> tag and that the included file has a discard element
?

***************** Example: case 1:

File 1:
<svg>
<rect> <discard begin="3s"/> </rect>
</svg>

File 2:
<svg>
<animation xlink:href="file1.svg" dur="10" repeatDur="20" />
</svg>

I suppose the following happens:
0-3s:   The rectangle is visible
3-10s:  The rectangle is discarded
10-13s: The rectangle is visible again, because the repeat restart the
file from the beginning
13-20s: The rectangle is discarded again.

Is this understanding correct ? If not, could you point out to me where
it is stated otherwise ?


***************** Example: case 2:

File 3:
<svg>
<animation xlink:href="file1.svg" dur="10" begin="0;10" />
</svg>

I suppose the following happens:
0-3s:   The rectangle is visible
3-10s:  The rectangle is discarded
10-13s: The rectangle is visible again, because the included file begin
again
13-20s: The rectangle is discarded again.
 
Is this understanding correct ? If not, could you point out to me where
it is stated otherwise ?

Julien

-------------------------------------------------------------

Julien Reichel, PhD
Technology Architect, SpinetiX S.A.
PSE-C, CH-1015, Lausanne, Switzerland

Tel:     +41 (0) 21 693 89 81
Mail:   julien.reichel@spinetix.com
Get Information : http://www.spinetix.com

-------------------------------------------------------------

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.

 
 
Received on Monday, 15 September 2008 16:13:14 GMT

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