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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/keyword-composition-crash.html

Issue 1720403002: Alternative syntax for element.animate list of keyframes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@animations-keyframeeffect-api
Patch Set: Additional (mismatched-length-list) test; ensure offset is initialized Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/web-animations-api/element-animate-list-of-keyframes.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script src="../resources/testharness.js"></script> 1 <script src="../resources/testharness.js"></script>
2 <script src="../resources/testharnessreport.js"></script> 2 <script src="../resources/testharnessreport.js"></script>
3 <div id="target"></div> 3 <div id="target"></div>
4 <script> 4 <script>
5 test(() => { 5 test(() => {
6 target.animate({position: 'absolute'}, {fill: 'forwards'}); 6 target.animate([{position: 'absolute'}], {fill: 'forwards'});
7 target.animate({position: 'static', composite: 'add'}, {fill: 'forwards'}); 7 target.animate([{position: 'static', composite: 'add'}], {fill: 'forwards'});
8 getComputedStyle(target).position; 8 getComputedStyle(target).position;
9 }, "Don't crash when compositing keyword animations."); 9 }, "Don't crash when compositing keyword animations.");
10 </script> 10 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/web-animations-api/element-animate-list-of-keyframes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698