Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / web-animations-api / element-animate-null-effect.html
bloba66e145d228e34457f1e763e4e9f16e9729d771b
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script>
5 var element = document.documentElement;
6 test(function() {
7 assert_true(element.animate(null) != null);
8 assert_true(element.animate(null, 1) != null);
9 assert_true(element.animate(null, {duration: 1}) != null);
10 }, 'Animate should accept a null effect.');
11 </script>