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
When going from an overview with speakers to a detail page for example, only the speaker that is clicked will have an old and a new state, the other speakers will only have an old state. When going from a detail page back to an overview only the speaker that was active will have both states. It would be even more useful if the :has selector would work on pseudo elements because then we could also adjust the stacking order of the parent group to make sure it is in front of all the other elements.
This seems like a valid use-case but currently doesn’t work, because :has does not accept pseudo-elements unless those pseudo-elements are defined as :has-allowed pseudo-element.
I believe we can safely make those two pseudos :has-allowed pseudo-element because their continued existence isn’t affected by any other CSS properties.