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

> It is exactly as accurate and generalizable as (1).

I'm not sure I follow. Is the feature not expected to be implemented as (2)? Does the dependency on custom elements of description (1) not prevent it from being used by elements that are not customized?

> Make-believe shadow roots, in particular, are not something we're interested in introducing, spreading, or generalizing. They are just an implementation detail.

It seems like if it's acceptable to create shadow roots on built in elements and that creating shadow roots solely for the purpose of adding styles is considered expensive enough to merit introducing the feature discussed here, then certainly it does not follow that the concerns resulting in this feature being proposed for use with custom elements do not apply equally to built in elements.

-- 
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-371374158

Received on Thursday, 8 March 2018 04:21:29 UTC