Re: [svgwg] Values in SVGZoomAndPan and SVGUnitTypes should be accessible to javascript

I'm actually not even sure it should be a mixin. According to WebIDL:

> Interface mixins allow the sharing of attributes, constants, and operations across multiple interfaces. If you’re only planning to extend a single interface, you might consider using a partial interface instead.
https://heycam.github.io/webidl/#using-mixins-and-partials

As It is only included on SVGSVGElement, the WebIDL advice is to make it a partial. But as they're both in SVG, they should probably just be added to SVGSVGElement directly (assuming we want to keep them)

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

Received on Saturday, 5 May 2018 07:39:04 UTC