Skip to content

Commit 74e8473

Browse files
committed
fix(lib.dom.d.ts): Keyframe interface supports CSS Typed OM objects
Allow CSSStyleValue (and its subtypes like CSSTransformValue, CSSImageValue, CSSNumericValue, etc.) in the Keyframe, ComputedKeyframe, and PropertyIndexedKeyframes index signatures. This enables using CSS Typed OM objects in Web Animations API keyframes, for example: element.animate([ { transform: 'rotate(0deg)' }, { transform: new CSSRotate(45, 0, 0, CSSNumericValue.parse('90deg')) } ], { duration: 500 }) Fixes #63325
1 parent 7b8cb3b commit 74e8473

File tree

1 file changed

+45125
-0
lines changed

1 file changed

+45125
-0
lines changed

0 commit comments

Comments
 (0)