CSS Typed Object Model: Animating and Reading CSS Values with JavaScript
The CSS Typed Object Model API (element.attributeStyleMap and element.computedStyleMap()) exposes CSS values as typed JavaScript objects — CSSUnitValue, CSSColorValue, CSSTransformValue — instead of raw strings. This eliminates the string-parsing overhead in animation loops, provides unit-aware arithmetic (CSS.px(10).add(CSS.rem(2))), and integrates with the Worklet-based Houdini painting pipeline.