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

Unified Diff: LayoutTests/virtual/threaded/animations/zoom-responsive-transform-animation.html

Issue 1347493004: Recomposite transform animations when CSS zoom changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests Created 5 years, 3 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 | LayoutTests/virtual/threaded/animations/zoom-responsive-transform-animation-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/virtual/threaded/animations/zoom-responsive-transform-animation.html
diff --git a/LayoutTests/animations/opacity-responsive-neutral-keyframe.html b/LayoutTests/virtual/threaded/animations/zoom-responsive-transform-animation.html
similarity index 68%
copy from LayoutTests/animations/opacity-responsive-neutral-keyframe.html
copy to LayoutTests/virtual/threaded/animations/zoom-responsive-transform-animation.html
index 86f1587cdc0e2b83831b2dd7b39df9a920e444ae..4ff4615c816a3559c8f938bbb5cacb7a6f2a5173 100644
--- a/LayoutTests/animations/opacity-responsive-neutral-keyframe.html
+++ b/LayoutTests/virtual/threaded/animations/zoom-responsive-transform-animation.html
@@ -4,28 +4,22 @@ div {
position: absolute;
width: 100px;
height: 100px;
-}
-#target {
- background: red;
- opacity: 1;
+ background: black;
animation: test 1e8s;
}
-#green {
- background: green;
-}
@keyframes test {
- to { opacity: 0.5; }
+ from {transform: translate(100px, 100px);}
+ to {transform: translate(100px, 100px);}
}
</style>
-<div id="green"></div>
-<div id="target"></div>
+<div></div>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
requestAnimationFrame(() => {
requestAnimationFrame(() => {
- target.style.opacity = 0;
+ internals.setZoomFactor(2);
requestAnimationFrame(() => {
if (window.testRunner)
testRunner.notifyDone();
« no previous file with comments | « no previous file | LayoutTests/virtual/threaded/animations/zoom-responsive-transform-animation-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698