You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[web-animations-1] Does an easing on a keyframe that specifies no value for the animated property apply? #14492
"Remove any keyframes from property-specific keyframes that do not have a property value for target property." The first keyframe has no font-size, so it goes here.
"If there is no keyframe in property-specific keyframes with a computed keyframe offset of 0, create a new keyframe with a computed keyframe offset of 0, a property value set to the neutral value for composition, and a composite operation of add, and prepend it." An offset, a value and a composite operation. No easing, so the default linear.
"Let transformed distance be the result of evaluating the easing function associated with the first keyframe in interval endpoints."
The authored keyframe is gone at step 1, and the one that replaces it is linear. So the easing cannot reach font-size.
If that is the intended answer, it would be worth saying so where the implicit keyframe is created, because "create a new keyframe" leaves its easing to be inferred. #2914 proposes rewriting that same step for a different reason, so the two could be handled together.
Nothing in the test suite covers it. effect-value-transformed-distance.html is the keyframe-easing test and every keyframe in it specifies the animated property, so the removal step is never reached. effect-value-step-easing-reversed-direction.html the same. processing-a-keyframes-argument-002.html builds [{ easing: invalidEasing }] but only to check that it throws. I grepped all of web-animations/ for a keyframe with only an easing and the only other hits are invalid-easing parsing fixtures.
It is easy to write by accident. I hit it in an SVG test that was translating a CSS animation into the Web Animations API, where the same intent is expressed as an element-level animation-timing-function and does apply.
Happy to write the test once the answer is settled.
Activity
[web-animations-1] Simplify implicit keyframes and specify their easing
[web-animations] Test easing on a keyframe with no value for the prop…
karlcow commentedon Sep 28, 2026
WPT done. web-platform-tests/wpt#63004
[web-animations] Test easing on a keyframe with no value for the prop…
Bug 2076083 [wpt PR 63004] - [web-animations] Test easing on a keyfra…
Bug 2076083 [wpt PR 63004] - [web-animations] Test easing on a keyfra…