chromium/third_party/blink/renderer/core/animation/optional_effect_timing.idl

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://drafts.csswg.org/web-animations-1/#the-effecttiming-dictionaries

dictionary OptionalEffectTiming {
    (double or CSSNumericValue)                           delay;
    (double or CSSNumericValue)                           endDelay;
    FillMode                                              fill;
    double                                                iterationStart;
    unrestricted double                                   iterations;
    // CSSNumericValue is only included here so that it continues to match
    // EffectTiming which allows code that expects them to match to continue
    // working. Duration cannot be set using CSSNumericValue.
    (unrestricted double or CSSNumericValue or DOMString) duration;
    PlaybackDirection                                     direction;
    DOMString                                             easing;
};