Contact emails
yoav...@chromium.orgExplainer
https://github.com/w3c/long-animation-frames/pull/30#issue-3828859369Specification
https://github.com/w3c/long-animation-frames/pull/30Summary
Add `styleDuration` and `forcedStyleDuration` information to the Long Animation Frame API, enabling developers to distinguish style and layout times.Blink component
Blink>PerformanceAPIsWeb Feature ID
Missing feature - https://github.com/web-platform-dx/web-features/issues/4453Motivation
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.Initial public proposal
https://github.com/w3c/long-animation-frames/pull/30TAG review
I didn't file for a TAG review as these are a few new attributes that break up the timings provided by an existing attribute, mimicking its existing shape. I don't expect the TAG to have strong opinions on the shape of the attributes.TAG review status
Not applicableOrigin Trial Name
Long Animation Frames - separate style and layout durationsGoals for experimentation
See that the new attributes provide useful data to developers as they debug their CSS performance issues.Chromium Trial Name
LongAnimationFrameStyleDurationLink to origin trial feedback summary
https://groups.google.com/a/chromium.org/g/blink-dev/c/qvGqBcSOFTQ/m/rU6rqKuMCAAJOrigin Trial documentation link
https://github.com/w3c/long-animation-frames/pull/30#issue-3828859369WebFeature UseCounter name
kLongAnimationFrameTimingStyleDurationRisks
Debuggability
No information providedWill this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
YesYes -
https://wpt.fyi/results/long-animation-frame/loaf-style-duration.html: styleDuration (9 subtests)
-
https://wpt.fyi/results/long-animation-frame/loaf-layout-duration.html: layoutDuration (7 subtests)
-
https://wpt.fyi/results/long-animation-frame/loaf-forced-style-duration.html: forcedStyleDuration (4 subtests)
-
https://wpt.fyi/results/long-animation-frame/loaf-forced-layout-duration.html: forcedLayoutDuration, including checking that forced style plus forced layout
adds up to forcedStyleAndLayoutDuration (5 subtests)
-
https://wpt.fyi/results/long-animation-frame/loaf-container-queries.html: all four attributes when container queries mix style and layout work (6 subtests)
-
https://wpt.fyi/results/long-animation-frame/loaf-toJSON.html: now also checks styleDuration and layoutDuration in toJSON()
Flag name on about://flags
No information providedFinch feature name
LongAnimationFrameStyleDurationRollout plan
Will ship enabled for all usersRequires code in //chrome?
FalseTracking bug
https://issues.chromium.org/issues/476826067Estimated milestones
| Shipping on desktop | 157 |
| Origin trial desktop first | 148 |
| Origin trial desktop last | 153 |
| Shipping on Android | 157 |
| Shipping on WebView | 157 |
Anticipated spec changes
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
No changes expected.Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5171478175809536?gate=6516503656660992Links to previous Intent discussions
Intent to Prototype: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOmohSJxRuMp6Ha5RVCjzNfsG0Sj96Y%3Dgy9LnxtM%2Brq-S6DEew%40mail.gmail.comIntent to Experiment: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOmohSJ2PJ0dZxYH48PALOSUenSSV7VuZ9CzTHnGd8u_jTKkcg%40mail.gmail.com