Re: [svgwg] Status of animVal deprecation (#1100)

How can this change be implemented? `SVGSMILElement` animates the SVG animators when the timer fires. The calculated animated value has to be stored somewhere in the C++ SVG property say `m_animVal`. Because of the backward compatibility, we need to still provide the JS  `animVal`. This proposal will make `baseVal` and `animVal` return the same thing: `m_baseVal`.

This will make interfaces like `SVGAnimatedLength` useless. It has two attributes: `baseVal` and `animVal` and both of them return the same value regardless whether the property is currently animating or not.

It will make more sense to replace all the SVG animated property with the underlying values:

```
[
    Exposed=Window
] interface SVGRectElement : SVGGeometryElement {
    readonly attribute SVGLength x;
    readonly attribute SVGLength y;
    readonly attribute SVGLength width;
    readonly attribute SVGLength height;
    readonly attribute SVGLength rx;
    readonly attribute SVGLength ry;
};
```

-- 
GitHub Notification of comment by shallawa
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1100#issuecomment-4332181286 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 28 April 2026 03:35:15 UTC