Re: [svgwg] Make SVGAnimatedX data types extend DOMX data types wherever possible

I discussed this with @travisleithead and after much thought and whiteboard scribblings he came up with a similar approach to you. 

There are a few details to work out but we'd need to get something like [LegacyStringClass] defined in WebIDL (similar to[ LegacyArrayClass]) and use it on SVGAnimatedString (or a new replacement....I proposed SVGAnimatedSillyString). Then we'd need to make sure that setting the internal string representation also updated baseVal (and animVal) so that both getting/setting the string directly and href/className.baseVal both work. I think that was the gist of it. 

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

Received on Wednesday, 11 April 2018 22:15:03 UTC