[svgwg] Issue: Extend SVGAnimatedString with putForwards/stringifier WebIDL behaviors marked as SVG Core

AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as "SVG Core":

== 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.)

See https://github.com/w3c/svgwg/issues/546

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