Update web-platform-tests to revision be5419e845d39089ba6dc338c1bd0fa279108317

This commit is contained in:
Josh Matthews 2018-01-04 13:44:24 -05:00
parent aa199307c8
commit 2b6f573eb5
3440 changed files with 109438 additions and 41750 deletions

View file

@ -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);