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

Unified Diff: LayoutTests/animations/missing-from-to.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/missing-from-to.html
diff --git a/LayoutTests/animations/missing-from-to.html b/LayoutTests/animations/missing-from-to.html
index 851707f24dc7f7f492959962a4797c2f25a9de73..27c6ae6a5bc7d557912bffd491dab054874d6c93 100644
--- a/LayoutTests/animations/missing-from-to.html
+++ b/LayoutTests/animations/missing-from-to.html
@@ -57,13 +57,6 @@
60% { left: 20px; }
}
- #box5 {
- -webkit-animation-name: anim5;
- background-color: orange;
- }
- @-webkit-keyframes anim5 {
- }
-
#result {
margin-top: 20px;
}
@@ -87,25 +80,16 @@
["anim4", 1.6, "box4", "left", 15, 2]
];
- runAnimationTest(expectedValues, function() {
- if (window.testRunner) {
- var box5Element = document.getElementById('box5');
- if (internals.pauseAnimationAtTimeOnElement("anim5", 0.1, box5Element))
- result += "FAIL - box5 animation was running<br>";
- else
- result += "PASS - box5 animation was not running<br>";
- }
- });
+ runAnimationTest(expectedValues);
</script>
</head>
<body>
-This test performs animations of the left property on five boxes over 2 seconds.
+This test performs animations of the left property on four boxes over 2 seconds.
Box 1 has all keyframes. Box 2 has a missing "from" keyframe.
Box 3 has a missing "to" keyframe.
Box 4 has both "from" and "to" keyframes missing, but other keyframes which
-should trigger the generation of "from" and "to". Box 5 has no keyframes, and
-should not animate.
+should trigger the generation of "from" and "to".
The test takes 3 snapshots each and expects each result to be within a specified range.
<div class="box" id="box1">
</div>
@@ -115,8 +99,6 @@ The test takes 3 snapshots each and expects each result to be within a specified
</div>
<div class="box" id="box4">
</div>
-<div class="box" id="box5">
-</div>
<div id="result">
</div>
</body>
« no previous file with comments | « LayoutTests/animations/empty-keyframe-animation-expected.txt ('k') | LayoutTests/animations/missing-from-to-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698