← Back to release summary

Long Animation Frames style duration

Category
Performance
Type
New or changed feature
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

Add `styleDuration` and `forcedStyleDuration` information to the Long Animation Frame API, enabling developers to distinguish style and layout times.

Motivation

Currently performance-conscious developers have no way to distinguish their style time from their layout time, making CSS performance issues less actionable than they can be. This feature enables developers to make that distinction.

Standards & signals

Explainers: https://github.com/w3c/long-animation-frames/pull/30#issue-3828859369

View on chromestatus.com