From de912929b54d8b4ab1898a8f011233c340c2e080 Mon Sep 17 00:00:00 2001 From: Marco Cecchetti Date: Tue, 3 Jul 2012 15:39:32 +0200 Subject: Changed the rewindCurrentEffect method. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The change was needed because rewinding a playing shape transition effect based on a clip-path doesn’t work properly on Firefox and Internet Explorer. --- filter/source/svg/presentation_engine.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'filter') diff --git a/filter/source/svg/presentation_engine.js b/filter/source/svg/presentation_engine.js index d705658f84f5..9b62dd7731e5 100644 --- a/filter/source/svg/presentation_engine.js +++ b/filter/source/svg/presentation_engine.js @@ -6489,8 +6489,11 @@ SequentialTimeContainer.prototype.rewindCurrentEffect = function( aChildNode ) assert( !this.bIsRewinding, 'SequentialTimeContainer.rewindCurrentEffect: is already rewinding.' ); this.bIsRewinding = true; + this.getContext().aActivityQueue.endAll(); + this.getContext().bIsSkipping = true; this.getContext().aTimerEventQueue.forceEmpty(); - this.getContext().aActivityQueue.clear(); + this.getContext().bIsSkipping = false; + this.getContext().aActivityQueue.endAll(); aChildNode.end(); aChildNode.removeEffect(); -- cgit