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

Unified Diff: LayoutTests/animations/missing-from-to-transforms.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-transforms.html
diff --git a/LayoutTests/animations/missing-from-to-transforms.html b/LayoutTests/animations/missing-from-to-transforms.html
index 2fbc1b5c2627cf1de30a38410ea22b038a9df5f5..f8d97711611656d0a6980f4ea6c03a937fcc87bb 100644
--- a/LayoutTests/animations/missing-from-to-transforms.html
+++ b/LayoutTests/animations/missing-from-to-transforms.html
@@ -58,13 +58,6 @@
60% { -webkit-transform: translateX(20px); }
}
- #box5 {
- -webkit-animation-name: anim5;
- background-color: orange;
- }
- @-webkit-keyframes anim5 {
- }
-
#result {
margin-top: 20px;
}
@@ -88,20 +81,12 @@
["anim4", 1.6, "box4", "webkitTransform.4", 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 transform property on five boxes over 2 seconds.
+This test performs animations of the transform 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
@@ -116,8 +101,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/missing-from-to-expected.txt ('k') | LayoutTests/animations/missing-from-to-transforms-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698