[heycam/webidl] Allow a mixin to include a mixin (#537)

HTMLElement and SVGElement share a mixin HTMLOrSVGElement. HTMLElement also includes another mixin, GlobalEventHandlers, that's also used by Document and Window. SVGElement would like that too. HTMLElement also includes another mixin, DocumentAndElementEventHandlers, that's also used by Document. SVGElement would like that too.

It would make some sense if we could include GlobalEventHandlers and DocumentAndElementEventHandlers on HTMLOrSVGElement so SVGElement doesn't have to worry about it.

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

Now having said this, @domenic mentions on IRC that this led to a lot of complexity in the old system, so maybe we just need to live with the duplication and don't forget about SVGElement.

cc @dstorey @AmeliaBR

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/537

Received on Saturday, 24 March 2018 07:01:43 UTC