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
I'm not sure if there's a better name for "pseudo-classes that act as functions"?
Essentially what I mean are pseudo-classes like :dir(), :lang(), etc.
This is a list of function selectors with weird/incorrect names in selectors.json:
:any: This is weird because it only has syntax specifically for the -webkit-/-moz- vendor prefixed versions. Also, it should be a function like :any().
Oddly, :host() and :host-context() are fine in this regard.
The logic that any selectors with () should have () included in their name is that there are selectors like :host as well as :host(), so you can't just take off the () or those two would conflict.
The text was updated successfully, but these errors were encountered:
I'm not sure if there's a better name for "pseudo-classes that act as functions"?
Essentially what I mean are pseudo-classes like
:dir()
,:lang()
, etc.This is a list of function selectors with weird/incorrect names in
selectors.json
::any
: This is weird because it only has syntax specifically for the-webkit-
/-moz-
vendor prefixed versions. Also, it should be a function like:any()
.:dir
: Should be:dir()
.:lang
: Should be:lang()
.:not
: Should be:not()
.:nth-child
: Should be:nth-child()
.:nth-last-child
: Should be:nth-last-child()
.:nth-last-of-type
: Should be:nth-last-of-type()
.:nth-of-type
: Should be:nth-of-type()
.Oddly,
:host()
and:host-context()
are fine in this regard.The logic that any selectors with
()
should have()
included in their name is that there are selectors like:host
as well as:host()
, so you can't just take off the()
or those two would conflict.The text was updated successfully, but these errors were encountered: