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

Side by Side Diff: third_party/WebKit/LayoutTests/virtual/threaded/animations/element-animate-positive-delay.html

Issue 2702483002: Paint some content for animated elements in composited animation tests. (Closed)
Patch Set: Don't revise sample-on-last-keyframe.html test. Created 3 years, 9 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script> 2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script> 3 <script src="../../../resources/testharnessreport.js"></script>
4 <div id="target"></div> 4 <div id="target">x</div>
5 <script> 5 <script>
6 promise_test(function() { 6 promise_test(function() {
7 var animation = target.animate({ 7 var animation = target.animate({
8 transform: ['rotate(0deg)', 'rotate(180deg)'], 8 transform: ['rotate(0deg)', 'rotate(180deg)'],
9 }, { 9 }, {
10 duration: 100000, 10 duration: 100000,
11 delay: 1, 11 delay: 1,
12 }); 12 });
13 return animation.ready.then(() => { 13 return animation.ready.then(() => {
14 assert_true(internals.isCompositedAnimation(animation)); 14 assert_true(internals.isCompositedAnimation(animation));
15 }); 15 });
16 }, 'element.animate() with a positive delay should run compositor animations'); 16 }, 'element.animate() with a positive delay should run compositor animations');
17 </script> 17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698