[css-animations-2][scroll-animations-1] Avoid including properties that should be interpolated at boundaries when adding neutral keyframes #8491
Labels
Commenter Satisfied
Commenter has indicated satisfaction with the resolution / edits.
css-animations-2
scroll-animations-1
Current Work
Steps 7 and 8 in https://drafts.csswg.org/css-animations-2/#keyframes outline the procedure for adding initial and final keyframes for properties that are missing at the boundaries. This procedure should be updated such that properties that are missing at 0 or 1, but which should be interpolated at the boundary are not included.
The set of "from" properties should include all properties found in a keyframe with offset <= 0.
Conversely, the set of "to" properties should include all properties found in a keyframe with offset >= 0.
Keyframes with a timeline offsets can result in computed offsets being outside the 0 to 1 range and should be interpolated at the boundary (see #7825).
The text was updated successfully, but these errors were encountered: