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

Since this thread becomes too loooong, let me summarize here.

We have the following two proposals in this thread, basically:

1. fake-shadow-root approach, allowing arbitrary selectors, and treat the stylesheet as it were defined at the beginning of fake-shadow-root. That was originally proposed.
2. "Allowing only compound selector" approach, which can be explained without the concept of shadow root. I proposed this.

I don't object to 1, I'm fine to have both, however, it looks 2 has a higher priority for custom elements to me. I'm feeling that 1 is too coupled with the concept of shadow root. So, I would like to have simpler one at first for custom elements, which can be explained even if shadow root is removed from Web Standards. :)

If we have a use case for 1, we might want to file a separate issue.

For 2, I think the remaining concern is which cascading order custom style should use.


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

Received on Friday, 6 April 2018 04:32:59 UTC