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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/element-animate-keyframe-value-warning.html

Issue 2524303002: Emit console warning when element.animate() keyframe value fails to parse (Closed)
Patch Set: Test Created 4 years 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 <div id="target"></div>
2 This test passes if there are three warnings about invalid keyframe values.
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 }
7 target.animate({offsetPath: 'path("m0 0")'});
8 target.animate({offsetPath: 'path("invalid")'});
9 target.animate({'--x': 'valid'});
10 target.animate({'--x': 'invalid )'});
11 target.animate({'--x': 'invalid !important'});
12 target.animate([{background: 'green', backgroundColor: 'green'}]);
13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698