Re: [svgwg] Revert change from SVGRect/SVGPoint/SVGMatrix to DOM equivalents (#706)

I guess I don't understand, then: What is the obstacle to extending DOMPoint, etc, to make it reflect an attribute value?  Is it just a performance issue, that you currently have the components (x, y, etc.) implemented as simple attributes of the object, so you don't want to turn them into getters/setters?

The whole purpose of the DOM* geometry classes was to replace the matching SVG* classes, but make them usable more broadly.  It's disappointing if they were implemented in a way that doesn't make that possible. I really don't like the idea of maintaining parallel but independent sets of geometry classes.

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

Received on Saturday, 22 June 2019 00:11:20 UTC