W3C home > Mailing lists > Public > www-svg@w3.org > June 2010

Re: SVG 1.1 19.3 proposed testcase for script and DOM

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Fri, 25 Jun 2010 12:11:31 +0200
To: www-svg@w3.org, j.chetwynd@btinternet.com
Message-Id: <201006251211.31823.Dr.O.Hoffmann@gmx.de>
Hello Jonathan,

please describe precisely what you expect.
Describe what you expect in case the test passes
or how one can decide, that it is failed.
Describe this for activated and deactivated ecmascript interpretation.

Why are you using a tiny 1.2 document to test behaviour for
SVG 1.1?


I think, the script manipulates the DOM value.
And the SMIL sandwich model indicates, that the
animation does not change the DOM value, it changes the
presentation value.

A set animation is always not additive, it overwrites the underlying value, 
if active.
Therefore, as long as the set is active, your test rectangle has to be green,
no matter, what the script does.

I'm no expert for scripting, but if your script alerts the DOM value and
not the presentation value, the value is red and not green, no matter, 
what the animation does.

This seems to fit to what I have seen with Opera 10.10.
Is your expectation, that the script alerts the presentation value?

Olaf
Received on Friday, 25 June 2010 10:13:31 GMT

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