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

Unified Diff: LayoutTests/animations/change-keyframes-name.html

Issue 14556022: Simplify animation testing API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 7 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
Index: LayoutTests/animations/change-keyframes-name.html
diff --git a/LayoutTests/animations/change-keyframes-name.html b/LayoutTests/animations/change-keyframes-name.html
index db42bd93688d68d475c40258b69ca48f50380e92..8ce416cc60a2dab70e1e9b9f8742dea0b77cb386 100644
--- a/LayoutTests/animations/change-keyframes-name.html
+++ b/LayoutTests/animations/change-keyframes-name.html
@@ -52,30 +52,23 @@
keyframes.name = "anim";
document.getElementById('box').style.webkitAnimationName = "anim";
- runAnimationTest(expectedValues);
+ runAnimationTest(expectedValues, null, null, 'do-not-use-pause-api');
}
function setup()
{
if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- var box = document.getElementById('box');
- if (internals.pauseAnimationAtTimeOnElement("bar", 0.5, box))
- document.getElementById("pre-result").innerHTML = "FAIL: animation is running";
- else
- document.getElementById("pre-result").innerHTML = "PASS: animation is not running";
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
}
-
setTimeout(change, 200);
}
</script>
</head>
<body onload="setup()">
-This test starts by making sure the animation is not running, because the animation-name and the
-name of they @keyframes rule do not match. Then it changes the name of the @keyframes rule so they
-match and makes sure the animation is now running.
+This test changes the name of the @keyframes rule so that it matches
+and makes sure the animation starts running.
<div id="box">
</div>
<div id="pre-result">
« no previous file with comments | « LayoutTests/animations/change-keyframes.html ('k') | LayoutTests/animations/change-keyframes-name-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698