@@ -2590,6 +2590,19 @@ declare var CDATASection: {
2590
2590
new(): CDATASection;
2591
2591
};
2592
2592
2593
+ interface CSSAnimation extends Animation {
2594
+ readonly animationName: string;
2595
+ addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2596
+ addEventListener(type: string, listener: EventListener, options?: boolean | AddEventListenerOptions): void;
2597
+ removeEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2598
+ removeEventListener(type: string, listener: EventListener, options?: boolean | EventListenerOptions): void;
2599
+ }
2600
+
2601
+ declare var CSSAnimation: {
2602
+ prototype: CSSAnimation;
2603
+ new(): CSSAnimation;
2604
+ };
2605
+
2593
2606
/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */
2594
2607
interface CSSConditionRule extends CSSGroupingRule {
2595
2608
conditionText: string;
@@ -3261,6 +3274,19 @@ declare var CSSSupportsRule: {
3261
3274
new(): CSSSupportsRule;
3262
3275
};
3263
3276
3277
+ interface CSSTransition extends Animation {
3278
+ readonly transitionProperty: string;
3279
+ addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
3280
+ addEventListener(type: string, listener: EventListener, options?: boolean | AddEventListenerOptions): void;
3281
+ removeEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
3282
+ removeEventListener(type: string, listener: EventListener, options?: boolean | EventListenerOptions): void;
3283
+ }
3284
+
3285
+ declare var CSSTransition: {
3286
+ prototype: CSSTransition;
3287
+ new(): CSSTransition;
3288
+ };
3289
+
3264
3290
/** Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. */
3265
3291
interface Cache {
3266
3292
add(request: RequestInfo): Promise<void>;
0 commit comments