← Back to release summary

Do not throw on unimplemented but valid keyframe-specific composite values.

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 66)
Intent stage
None

Summary

By spec, the following should not throw even if additive/accumulative animations are not yet supported by the browser: // Currently throws on Chrome - should not! element.animate( [ { color: 'red', composite: 'accumulate' }, { color: 'blue', composite: 'add' } ], 2000); ); Firefox does not throw in this case.

Standards & signals

View on chromestatus.com