Re: [heycam/webidl] Designing mixins (#363)

I guess it would be good to study precedent. Perhaps both is what we want.

I do think there's value to having a mixin named `DocumentOrShadowRoot` and being able to extend that. It conveys the concept of shared functionality between `Document` and `ShadowRoot` much more clearly than a bunch of `partial interface Document, ShadowRoot` would. The latter seems more accidental somehow. Similar for other mixins in DOM, such as `ParentNode`.

-- 
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/363#issuecomment-326749330

Received on Saturday, 2 September 2017 15:00:43 UTC