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

Side by Side Diff: third_party/WebKit/LayoutTests/virtual/threaded/animations/img-element-transform.html

Issue 2225743002: Use same layout logic in animations for deciding whether an element can transform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4 <img id="target">
5 <script>
6 promise_test(function() {
7 var animation = target.animate({transform: ['rotate(0deg)', 'rotate(180deg)']} , 100000);
8 return animation.ready.then(() => {
9 assert_true(internals.isCompositedAnimation(animation));
10 });
11 }, '<img> elements should run compositor animations');
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698