chromium/third_party/blink/renderer/core/animation/base_keyframe.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://w3.org/TR/web-animations-1/#dictdef-basekeyframe

enum CompositeOperationOrAuto {"replace", "add", "accumulate", "auto"};

typedef (double or TimelineRangeOffset or DOMString) KeyframeOffset;
dictionary BaseKeyframe {
  KeyframeOffset? offset = null;
  DOMString easing = "linear";
  CompositeOperationOrAuto composite = "auto";
};