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
{{ message }}
Repository navigation
Give the :open pseudo a better ID than open-closed #3239
There are many things on the platform called open, so we could call this open-pseudo, but just open isn't taken yet, so just open would be more consistent with what we've done in the past.
column-pseudo, which could be just column, but there is a columns CSS property so I think disambiguating makes sense
dir-pseudo, because there's also a dir attribute
scope-pseudo, because there's also an @scope rule
We have many IDs like autofill and default which are just named after :autofill and :default.
In this case I think we should consider that we might add :closed later, and we'd want consistency. There are many things on the platform that have open or closed as part of their syntax, so I think that "open-pseudo" would be the winner here.
Activity
foolip commentedon Sep 29, 2025
There are many things on the platform called
open, so we could call thisopen-pseudo, but justopenisn't taken yet, so justopenwould be more consistent with what we've done in the past.nt1m commentedon Oct 10, 2025
open-pseudo-class or pseudo-class-open is what I would suggest
foolip commentedon Oct 10, 2025
https://github.com/web-platform-dx/web-features/blob/main/docs/guidelines.md#identifiers are the guidelines we have, and we have these existing IDs that end with "-pseudo":
columnsCSS property so I think disambiguating makes sensedirattribute@scoperuleWe have many IDs like autofill and default which are just named after
:autofilland:default.In this case I think we should consider that we might add
:closedlater, and we'd want consistency. There are many things on the platform that haveopenorclosedas part of their syntax, so I think that "open-pseudo" would be the winner here.Rename open-closed to open-pseudo
foolip commentedon Oct 10, 2025
I've filed #3436 with more cases to consider.
nt1m commentedon Oct 10, 2025
I don't like pseudo because there's pseudo-classes and pseudo-elements, but I don't feel too strongly.
Rename open-closed to open-pseudo (#3435)