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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-defaults.html

Issue 2144513002: Rename timed-item-specified-getters to reflect change of name of (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/web-animations-api/timed-item-specified-getters.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-defaults.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-defaults.html b/third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-defaults.html
new file mode 100644
index 0000000000000000000000000000000000000000..b3196d20df3cd574bf33ac38c08ae791176e2504
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-defaults.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<meta charset='utf-8'>
+<title>Default values for AnimationEffectTiming objects</title>
+<link rel='help' href='https://w3c.github.io/web-animations/#the-animationeffecttimingproperties-dictionary'>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+
+<body>
+ <div id='e'></div>
+</body>
+
+<script>
+var keyframeEffectBasic = new KeyframeEffect(null, []);
+var specifiedTimingBasic = keyframeEffectBasic.timing;
+
+test(function() {
+ assert_equals(specifiedTimingBasic.constructor, AnimationEffectTiming);
+ assert_equals(specifiedTimingBasic.delay, 0);
+ assert_equals(specifiedTimingBasic.endDelay, 0);
+ assert_equals(specifiedTimingBasic.fill, 'auto');
+ assert_equals(specifiedTimingBasic.iterationStart, 0);
+ assert_equals(specifiedTimingBasic.iterations, 1);
+ assert_equals(specifiedTimingBasic.duration, 'auto');
+ assert_equals(specifiedTimingBasic.direction, 'normal');
+ assert_equals(specifiedTimingBasic.easing, 'linear');
+}, 'AnimationEffectTiming objects should have the specified default values');
+
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/web-animations-api/timed-item-specified-getters.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698