[Webkit-unassigned] [Bug 12073] SVGSVGElement needs setCurrentTimesupport

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 2 13:15:17 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12073





------- Comment #2 from macdome at opendarwin.org  2007-01-02 13:15 PDT -------
(In reply to comment #1)
> The SVG spec allows one to reset the clock on computer that the "browser" is
> running on?

Nah.  That definitely would be a security hole. :)  Especially since on OS X it
normally requires administrator access to change the clock. :)

>From the spec:

setCurrentTime
Adjusts the clock for this SVG document fragment, establishing a new current
time.
Parameters:
in float seconds. The new current time in seconds relative to the start time
for the current SVG document fragment.

I expect that this basically only pertains to the animation timeline.  I don't
know how one would make this work for JavaScript (nor to I expect it's supposed
to).

It's important (at least for editing) to be able to change the animation
timeline's current position.  There are also cases during display where such is
useful.  That's exactly what this method allows.  If you set the time to 1000,
the document suddenly fast-forwards (or rewinds) to exactly how it should look
1000 seconds after load time (with all animations in their proper state, etc). 
Any JavaScript timers/animation I expect would be unaffected.  Certainly other
pages, the browser's sense of time, and the computer clock should all remain
unaffected. :)


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list