| Index: third_party/WebKit/LayoutTests/web-animations-api/element-animate-null-effect.html
|
| diff --git a/third_party/WebKit/LayoutTests/web-animations-api/element-animate-null-effect.html b/third_party/WebKit/LayoutTests/web-animations-api/element-animate-null-effect.html
|
| index a66e145d228e34457f1e763e4e9f16e9729d771b..75a2da9f023ca80722bcf79bd36841406f2124bd 100644
|
| --- a/third_party/WebKit/LayoutTests/web-animations-api/element-animate-null-effect.html
|
| +++ b/third_party/WebKit/LayoutTests/web-animations-api/element-animate-null-effect.html
|
| @@ -1,11 +1,19 @@
|
| <!DOCTYPE html>
|
| +<meta charset=utf-8>
|
| +<title>element.animate() accepts a null effect</title>
|
| +<link rel="help" href="http://w3c.github.io/web-animations/#animatable">
|
| <script src="../resources/testharness.js"></script>
|
| <script src="../resources/testharnessreport.js"></script>
|
| +<script src="../imported/wpt/web-animations/testcommon.js"></script>
|
| +<body>
|
| <script>
|
| -var element = document.documentElement;
|
| -test(function() {
|
| +"use strict";
|
| +
|
| +test(function(t) {
|
| + var element = createDiv(t);
|
| assert_true(element.animate(null) != null);
|
| assert_true(element.animate(null, 1) != null);
|
| assert_true(element.animate(null, {duration: 1}) != null);
|
| }, 'Animate should accept a null effect.');
|
| </script>
|
| +</body>
|
|
|