[svgwg] Issue: Make SVGAnimatedX data types extend DOMX data types wherever possible marked as agenda+

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

== Make SVGAnimatedX data types extend DOMX data types wherever 
possible ==
E.g., make  SVGAnimatedString a subclass of DOMString, that just 
happens to have (redundant, deprecated) getters named `animVal` and 
`baseVal` and a (redundant, deprecated) setter named `baseVal`.  
(We've already removed any special meaning from `animVal`; it is no 
longer tied to SMIL animation.)

That way, things like SVGAElement.href and SVGElement.className would 
magically become compatible with HTMLAElement.href and 
HTMLElement.className for nearly all scripts that use them.

It works fine for JavaScript implementations (strings are objects, 
they can have properties, getters & setters), but I'm not sure if 
we're able to extend something like "DOMString" generically.

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

Received on Wednesday, 20 July 2016 05:26:07 UTC