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

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: Add new tests. Created 7 years, 8 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..1d913f84d612026219b67358a45706de75087258 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,15 +80,7 @@
["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>
@@ -115,8 +100,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>

Powered by Google App Engine
This is Rietveld 408576698