You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTML has a new-ish inert attribute, but as far as I can tell, the only way to select inert elements in CSS is with :is([inert], [inert] *) (since children of inert elements are also inert), which I don't think is perfect as it ignores the DOM property. Would it make sense to introduce a :inert pseudo-class, similar to :disabled? There may not be a lot of use cases for it, but I was still surprised by the lack of discussion about it (it's possible I didn't search well enough, if so I apologize).
The text was updated successfully, but these errors were encountered:
HTML has a new-ish
inert
attribute, but as far as I can tell, the only way to select inert elements in CSS is with:is([inert], [inert] *)
(since children ofinert
elements are also inert), which I don't think is perfect as it ignores the DOM property. Would it make sense to introduce a:inert
pseudo-class, similar to:disabled
? There may not be a lot of use cases for it, but I was still surprised by the lack of discussion about it (it's possible I didn't search well enough, if so I apologize).The text was updated successfully, but these errors were encountered: