diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/web-animations/resources/effect-tests.js')
-rw-r--r-- | tests/wpt/web-platform-tests/web-animations/resources/effect-tests.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/wpt/web-platform-tests/web-animations/resources/effect-tests.js b/tests/wpt/web-platform-tests/web-animations/resources/effect-tests.js index 4a0c66e1f28..8a18ab13c6c 100644 --- a/tests/wpt/web-platform-tests/web-animations/resources/effect-tests.js +++ b/tests/wpt/web-platform-tests/web-animations/resources/effect-tests.js @@ -1,3 +1,5 @@ +'use strict'; + // Common utility methods for testing animation effects // Tests the |property| member of |animation's| target effect's computed timing @@ -26,7 +28,7 @@ function assert_computed_timing_for_each_phase(animation, property, values) { const timing = effect.getComputedTiming(); // The following calculations are based on the definitions here: - // https://w3c.github.io/web-animations/#animation-effect-phases-and-states + // https://drafts.csswg.org/web-animations/#animation-effect-phases-and-states const beforeActive = Math.max(Math.min(timing.delay, timing.endTime), 0); const activeAfter = Math.max(Math.min(timing.delay + timing.activeDuration, timing.endTime), 0); |