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

Unified Diff: ManualTests/animation/compositor-animation-direction.html

Issue 636173006: Animation: Fix compositor-animation-direction manual test case (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ManualTests/animation/compositor-animation-direction.html
diff --git a/ManualTests/animation/compositor-animation-direction.html b/ManualTests/animation/compositor-animation-direction.html
index 096e9d8c0d54b6b5aad2302c1f29d23b04f51e82..ac3ab7e203c88af57f42986952ee296d1adbff9f 100644
--- a/ManualTests/animation/compositor-animation-direction.html
+++ b/ManualTests/animation/compositor-animation-direction.html
@@ -5,27 +5,27 @@ div {
height: 100px;
width: 100px;
background: blue;
- -webkit-transform: translateZ(0);
+ transform: translateZ(0);
-webkit-animation-duration: 2s;
-webkit-animation-timing-function: linear;
-webkit-animation-fill-mode: both;
-webkit-animation-iteration-count: 2;
}
-.test0 {
+.normal {
-webkit-animation-direction: normal;
}
-.test1 {
+.reverse {
-webkit-animation-direction: reverse;
}
-.test2 {
+.alternate {
-webkit-animation-direction: alternate;
}
-.test3 {
- -webkit-animation-direction: reverse;
+.alternate-reverse {
+ -webkit-animation-direction: alternate-reverse;
}
.anim-left {
@@ -49,10 +49,10 @@ div {
@-webkit-keyframes anim-transform {
0% {
- -webkit-transform: translateX(0px);
+ transform: translateX(0px);
}
100% {
- -webkit-transform: translateX(300px);
+ transform: translateX(300px);
}
}
</style>
@@ -62,30 +62,30 @@ Each section below has two boxes, the top runs on the main thread, the bottom
on the compositor. The animations should be identical but start at different
times.
</p><p>
-This test is successful if the boxes are mostly in sync (there might be a small
-offset between them).
+This test is successful if the each pair of boxes are mostly in sync (there
+might be a small offset between them).
</p>
<hr>
-Direction normal
+Direction normal - forwards twice
<br>
-<div class='test0 anim-left'></div>
-<div class='test0 anim-transform'></div>
+<div class='normal anim-left'></div>
+<div class='normal anim-transform'></div>
-Direction reverse
+Direction reverse - backwards twice
<br>
-<div class='test1 anim-left'></div>
-<div class='test1 anim-transform'></div>
+<div class='reverse anim-left'></div>
+<div class='reverse anim-transform'></div>
-Direction alternate
+Direction alternate - forwards then backwards
<br>
-<div class='test2 anim-left'></div>
-<div class='test2 anim-transform'></div>
+<div class='alternate anim-left'></div>
+<div class='alternate anim-transform'></div>
-Direction alternate-reverse
+Direction alternate-reverse - backwards then forwards
<br>
-<div class='test3 anim-left'></div>
-<div class='test3 anim-transform'></div>
+<div class='alternate-reverse anim-left'></div>
+<div class='alternate-reverse anim-transform'></div>
</body>
</html>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698