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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/responsive-neutral-keyframe.html

Issue 2973013002: Group all responsive animation tests together (Closed)
Patch Set: Rebase Created 3 years, 5 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <div id="target">Test.</div>
3 <script>
4 if (window.testRunner)
5 testRunner.waitUntilDone();
6
7 function waitForCompositor() {
8 return document.body.animate({opacity: [1, 1]}, 1).finished;
9 }
10
11 target.animate({translate: '100px'}, 1e8);
12
13 requestAnimationFrame(() => {
14 requestAnimationFrame(() => {
15 target.style.translate = '100px';
16 requestAnimationFrame(() => {
17 waitForCompositor().then(() => {
18 if (window.testRunner)
19 testRunner.notifyDone();
20 });
21 });
22 });
23 });
24 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698