Skip to content

Clamping values and additive animation #12648

@KevinDoughty

Description

@KevinDoughty

There is no useful form of additive animation that disallows negative Keyframe values. SVG spec defers clamping for opacity:
https://www.w3.org/TR/SVG11/implnote.html#RangeClamping

CSS does not. This needs to be specified. Firefox and Chromium behavior differ on additive opacity animation. Firefox (only recently) disallows clamping, while Chromium permits useful behavior:
https://bugzilla.mozilla.org/show_bug.cgi?id=1984925

This needs to be extended to include all clamped property values, including but not necessarily limited to width, height, and the new size shorthand.
#12645

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions