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

Side by Side Diff: third_party/WebKit/LayoutTests/virtual/threaded/animations/inline-block-transform.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, 10 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 style="display:inline-block"></div> 4 <div id="target" style="display:inline-block">x</div>
5 <script> 5 <script>
6 var test = async_test('inline-block should run compositor animations'); 6 var test = async_test('inline-block should run compositor animations');
7 var anim = target.animate({transform: ['rotate(0deg)', 'rotate(180deg)']}, 10000 0); 7 var anim = target.animate({transform: ['rotate(0deg)', 'rotate(180deg)']}, 10000 0);
8 anim.ready.then(() => { 8 anim.ready.then(() => {
9 test.step(() => assert_true(internals.isCompositedAnimation(anim))); 9 test.step(() => assert_true(internals.isCompositedAnimation(anim)));
10 test.done(); 10 test.done();
11 }); 11 });
12 </script> 12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698