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

Side by Side Diff: third_party/WebKit/LayoutTests/web-animations-api/animation-ready-reject-script-forbidden.html

Issue 2910883002: Clean up duplicate tests in web-animations-api (Closed)
Patch Set: Rebase and remove one more reference to deleted test Created 3 years, 6 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 <div id=element>x</div>
5 <style>
6 #element {
7 transition: transform 2000ms;
8 }
9 </style>
10 <script>
11 async_test(function(t) {
12 element.offsetTop; // Force recalc
13 element.style.transform = "rotateX(180deg)";
14 element.offsetTop; // Force recalc
15 var animation = element.getAnimations()[0];
16 return animation.ready.catch(function() { t.done(); });
17 });
18 </script>
19 <style>
20 * { content: ""; }
21 </style>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698