Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: LayoutTests/svg/animations/script-tests/animate-endElement-beginElement.js

Issue 194943002: Pause the timeline on load in the SVGAnimationTestCase.js framework (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/svg/animations/resources/SVGAnimationTestCase.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/animations/script-tests/animate-endElement-beginElement.js
diff --git a/LayoutTests/svg/animations/script-tests/animate-endElement-beginElement.js b/LayoutTests/svg/animations/script-tests/animate-endElement-beginElement.js
index b70469f30df22fa832443e94dce4212073ebfbed..c1de19c274187520b9ab096a8ae31a102224b289 100644
--- a/LayoutTests/svg/animations/script-tests/animate-endElement-beginElement.js
+++ b/LayoutTests/svg/animations/script-tests/animate-endElement-beginElement.js
@@ -32,6 +32,8 @@ function sample1() {
function executeTest() {
// Start animating, and stop it again after 100ms.
animateX.beginElement();
+ // Allow time to pass. (The test framework pauses the timeline on load.)
+ rootSVGElement.unpauseAnimations();
setTimeout(end, 100);
}
« no previous file with comments | « LayoutTests/svg/animations/resources/SVGAnimationTestCase.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698