Re: [w3c/webcomponents] Provide a lightweight mechanism to add styles to a custom element (#468)

I really like to approach of UA-like styles, from custom element developer perspective it seems intuitive and simple.

I'm afraid that following, may be problematic for  [Scoped Custom Element Registries #716](https://github.com/w3c/webcomponents/issues/716)
> Windows gain a private slot [[defaultElementStylesMap]] which is a map of local names to stylesheets.

As we could have multiple definitions for the same tag name within the `window`. So we should rather have this `[[defaultElementStylesMap]]` scoped the same way element registries are. 

How would it affect cascading order?



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/468#issuecomment-378528819

Received on Wednesday, 4 April 2018 08:53:09 UTC