[csswg-drafts] [css-selector-for-is-attribute] Feature Request (#9973)

clarumedia has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-selector-for-is-attribute] Feature Request  ==
Please accept my apologies if this is already a topic, feature, or I have submitted this request incorrectly.

RFC to support CSS attribute selector to target custom components via the "is" attribute.

<input type="text" is="my-custom-component">

input[is=my-custom-component]
   color:red;
}

FWIW: I prefer the "is" attribute eg: <input type='text' is='my-custom-component'> because I think it degrades better than <my-custom-component> in situations where the JS code may have failed etc.

Many thanks


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9973 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 17 February 2024 09:06:41 UTC