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

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

Issue 2143973003: Prepare animation-effect-timing-easing for upstreaming (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/animation-effect-timing-easing-expected.txt » ('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-easing.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing.html b/third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing.html
index 71b6b4867bf7e4580aa76a8f204ad166456ca388..c45d554ccc2e46f8be43de79415e6433c5361c3e 100644
--- a/third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing.html
+++ b/third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing.html
@@ -1,4 +1,7 @@
<!DOCTYPE html>
+<meta charset=utf-8>
+<title>AnimationEffectTiming easing tests</title>
+<link rel="help" href="https://w3c.github.io/web-animations/#the-animationeffecttiming-interface">
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
@@ -53,11 +56,9 @@ test(function() {
assert_animate_with_easing_throws('steps(3, nowhere)');
assert_animate_with_easing_throws('steps(-3, end)');
assert_animate_with_easing_throws('cubic-bezier(0.1, 0, 4, 0.4)');
-}, 'Invalid easing values should throw a TypeError');
-
-test(function() {
- assert_animate_with_easing_succeeds('function (a){return a}', 'linear');
+ assert_animate_with_easing_throws('function (a){return a}');
assert_animate_with_easing_throws('function (x){return x}');
assert_animate_with_easing_throws('function(x, y){return 0.3}');
-}, 'Function values for easing should throw a TypeError, except for one special linear case, which is deprecated for now and returns the default');
+ assert_animate_with_easing_throws('7');
+}, 'Invalid easing values should throw a TypeError');
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/web-animations-api/animation-effect-timing-easing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698