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

So, what's interesting is that the UA stylesheet-based spec text and the virtual-shadow-root based spec text are almost exactly equivalent. The difference is just whether you use `*` or `:host` to match the element.

At the face to face @rniwa had a strong preference for phrasing things in terms of virtual shadow root, so that is the resolution we recorded in the minutes there. But it sounds like a few other implementers prefer phrasing it in terms of the UA stylesheet. I don't think it really matters much. But indeed maybe the UA stylesheet phrasing would be easier to spec.

So unless we really care about `:host` vs. `*`, in the end I think we should write in the spec whatever is easier for the person doing spec work. For implementers, they can use either approach; they will not be observably different in a way that is observable by web-platform-tests. (Again, except for `:host` vs. `*`.)

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

Received on Wednesday, 4 April 2018 15:54:39 UTC