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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/virtual/threaded/animations/zoom-responsive-transform-animation-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 div { 3 div {
4 position: absolute; 4 position: absolute;
5 width: 100px; 5 width: 100px;
6 height: 100px; 6 height: 100px;
7 } 7 background: black;
8 #target {
9 background: red;
10 opacity: 1;
11 animation: test 1e8s; 8 animation: test 1e8s;
12 } 9 }
13 #green {
14 background: green;
15 }
16 @keyframes test { 10 @keyframes test {
17 to { opacity: 0.5; } 11 from {transform: translate(100px, 100px);}
12 to {transform: translate(100px, 100px);}
18 } 13 }
19 </style> 14 </style>
20 <div id="green"></div> 15 <div></div>
21 <div id="target"></div>
22 <script> 16 <script>
23 if (window.testRunner) 17 if (window.testRunner)
24 testRunner.waitUntilDone(); 18 testRunner.waitUntilDone();
25 19
26 requestAnimationFrame(() => { 20 requestAnimationFrame(() => {
27 requestAnimationFrame(() => { 21 requestAnimationFrame(() => {
28 target.style.opacity = 0; 22 internals.setZoomFactor(2);
29 requestAnimationFrame(() => { 23 requestAnimationFrame(() => {
30 if (window.testRunner) 24 if (window.testRunner)
31 testRunner.notifyDone(); 25 testRunner.notifyDone();
32 }); 26 });
33 }); 27 });
34 }); 28 });
35 </script> 29 </script>
OLDNEW
« 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