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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/w3c/out-of-order-keyframes.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, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/web-animations-api/w3c/out-of-order-keyframes.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/w3c/out-of-order-keyframes.html b/third_party/WebKit/LayoutTests/web-animations-api/w3c/out-of-order-keyframes.html
index e11cdbced26a5e6095bf7791a6ff047a457e3347..6c80fd4b3b3c8481aaa3f7d929082bd21105fb8c 100644
--- a/third_party/WebKit/LayoutTests/web-animations-api/w3c/out-of-order-keyframes.html
+++ b/third_party/WebKit/LayoutTests/web-animations-api/w3c/out-of-order-keyframes.html
@@ -7,11 +7,11 @@
<script>
test(function() {
- assert_throws({name: 'InvalidModificationError'}, function() {
+ assert_throws({name: 'TypeError'}, function() {
div.animate([{height: '100px', offset: 0.5}, {height: '200px', offset: 0}, {height: '300px', offset: 1}], 1);
}, 'Out-of-order properties should not work');
- assert_throws({name: 'InvalidModificationError'}, function() {
+ assert_throws({name: 'TypeError'}, function() {
div.animate([{height: '100px', offset: 0.5}, {height: '150px'},
{height: '200px', offset: 0}, {height: '300px', offset: 1}], 1);
}, 'Auto offsets combined with out-of-order properties should not work');

Powered by Google App Engine
This is Rietveld 408576698