Re: [WICG/webcomponents] Web components should be able to easily adapt to the host page while maintaining enapsulation (Issue #986)

My dream for this issue is to have a `:button` pseudo class that selected `button`, `input[type=button]`, `input[type=submit]`, etc. (did I miss any?) in the light DOM, and also pierces component shadow boundaries to select anything the component author decided should also receive button styling, such as by adding a `getsButtonStling` attribute or something. Thus, if the button wasn’t supposed to look like a regular button, they just wouldn’t opt it in with that attribute. 

Then, besides :button, there could also be :text-field, :radio, :checkbox, :label, etc. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/986#issuecomment-1448794501

You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/986/1448794501@github.com>

Received on Tuesday, 28 February 2023 20:00:14 UTC