[svgwg] Extend SVGAnimatedString with putForwards/stringifier WebIDL behaviors

AmeliaBR has just created a new issue for https://github.com/w3c/svgwg:

== Extend SVGAnimatedString with putForwards/stringifier WebIDL behaviors ==
As discussed in #175, this would help make SVGAnimatedString behave more like a simple DOMString, e.g. for SVGElement.className.

`el.className += " new-class"` would work by coercing the SVGAnimatedString to a simple string in order to concatenate it, and then setting the `baseVal` sub-property when the `className` property is set to a simple string.

(Not expecting this to happen for SVG 2.0, since we don't have implementations. Although @dstorey said he could make it happen in Edge.)

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/546 using your GitHub account

Received on Thursday, 20 September 2018 02:18:12 UTC