Index: third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/AnimationEffectTiming/getComputedStyle.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/AnimationEffectTiming/getComputedStyle.html b/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/AnimationEffectTiming/getComputedStyle.html |
index d6503a4314cffbb0d70c1ab3ce6624debfe571fa..6ab4f14d7dfa405682f4fce936b5a4e7b4fb1f09 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/AnimationEffectTiming/getComputedStyle.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/AnimationEffectTiming/getComputedStyle.html |
@@ -107,8 +107,12 @@ |
assert_equals(getComputedStyle(div).opacity, '0.5', |
'set currentTime same as endTime'); |
+ anim.currentTime = 9999; |
+ assert_equals(getComputedStyle(div).opacity, '0.5', |
+ 'set currentTime during duration'); |
+ |
anim.currentTime = 10000; |
- assert_equals(getComputedStyle(div).opacity, '0', |
+ assert_equals(getComputedStyle(div).opacity, '0.5', |
'set currentTime after endTime'); |
}, 'change currentTime when fill forwards and endDelay is negative'); |