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

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: Review changes 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/element-animate-keyframe-value-warning-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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: ''});
8 target.animate({offsetPath: 'path("m0 0")'});
9 target.animate({offsetPath: 'path("invalid")'});
10 target.animate({'--valid': ''});
11 target.animate({'--x': 'valid'});
12 target.animate({'--x': 'invalid )'});
13 target.animate({'--x': 'invalid !important'});
14 target.animate([{background: 'green', backgroundColor: 'green'}]);
15 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/element-animate-keyframe-value-warning-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698