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

Unified Diff: LayoutTests/web-animations-api/element-animate-list-of-keyframes.html

Issue 190763007: [WIP] Web Animations API: Constructing an Animation from partial keyframes throws a JS exception (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add FIXME for keyframes at 0 and 1. Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/web-animations-api/element-animate-list-of-keyframes.html
diff --git a/LayoutTests/web-animations-api/element-animate-list-of-keyframes.html b/LayoutTests/web-animations-api/element-animate-list-of-keyframes.html
index 4bb195f8db39f61b02b862d739bf1e81e6f311c7..05be5321b2806aa490a8e52b09145e1850f08861 100644
--- a/LayoutTests/web-animations-api/element-animate-list-of-keyframes.html
+++ b/LayoutTests/web-animations-api/element-animate-list-of-keyframes.html
@@ -16,12 +16,14 @@
<div id='e1' class='anim'></div>
<div id='e2' class='anim'></div>
<div id='e3' class='anim'></div>
+ <div id='e4' class='anim'></div>
</body>
<script>
var e1 = document.getElementById('e1');
var e2 = document.getElementById('e2');
var e3 = document.getElementById('e3');
+var e4 = document.getElementById('e4');
var e1Style = getComputedStyle(e1);
var e2Style = getComputedStyle(e2);
@@ -51,7 +53,7 @@ test(function() {
}, 'Calling animate() should start an animation. CamelCase property names should be parsed.');
var keyframesWithInvalid = [
- {offset: 0.1},
+ {offset: 0},
{width: '0px', backgroundColor: 'octarine', offset: 0.2},
{width: '1000px', foo: 'bar', offset: 1}
];

Powered by Google App Engine
This is Rietveld 408576698