| Index: LayoutTests/animations/timing-functions-neutral-keyframe.html
|
| diff --git a/LayoutTests/animations/timing-functions-neutral-keyframe.html b/LayoutTests/animations/timing-functions-neutral-keyframe.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a071e47f83d2d45828c31a972aedf7dcd6b949ac
|
| --- /dev/null
|
| +++ b/LayoutTests/animations/timing-functions-neutral-keyframe.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<style>
|
| + @keyframes anim {
|
| + from { animation-timing-function: linear; }
|
| + to { left: 500px; }
|
| + }
|
| +
|
| + #target {
|
| + animation: anim 10s -1s paused ease-in-out;
|
| + left: 0px;
|
| + position: absolute;
|
| + }
|
| +</style>
|
| +<div id="target"></div>
|
| +<script>
|
| + test(function() {
|
| + assert_equals(parseInt(getComputedStyle(target).left), 50, 'left offset'); // Should be linearly interpolated
|
| + }, "Check that explicitly specified timing functions in neutral keyframes override default");
|
| +</script>
|
|
|