Skip to main content

Module animation

Module animation 

Source
Expand description

Bridge from the legacy AnimatedProperties (Flutter-style) to CSS-style overrides on CssStyle. Used by the new pipeline so animations resolved through animator::resolve_props_for_effects flow into transform, opacity, filter, etc. before layout/paint.

This is a transitional module: once all animation surfaces are CSS-native, the animator can produce CssStyle overrides directly and this bridge disappears.

Functionsยง

apply_animated_props
Apply the resolved animation properties as a partial CSS override on top of an existing CssStyle. Only properties that the animator actually touched (vs. their Default sentinels) are written.