| Index: third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other1.html
|
| diff --git a/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other1.html b/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other1.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..72ae7c695426a403e0e3cd25365005e09737e595
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other1.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<script>
|
| +'use strict';
|
| +// From UseCounter.h
|
| +var WebAnimationsEasingAsFunctionLinear = 1295;
|
| +var WebAnimationsEasingAsFunctionOther = 1296;
|
| +
|
| +test(() => {
|
| + document.documentElement.animate([], { easing: 'function (x){return x}' });
|
| + assert_false(internals.isUseCounted(document, WebAnimationsEasingAsFunctionLinear));
|
| + assert_true(internals.isUseCounted(document, WebAnimationsEasingAsFunctionOther));
|
| +}, 'Any linear function for easing other than "function (a){return a}" is counted in WebAnimationsEasingAsFunctionOther.');
|
| +</script>
|
|
|