-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
renaming :matches to :is #324
Conversation
css/selectors.json
Outdated
":matches": { | ||
"syntax": ":matches( <selector># )", | ||
":is": { | ||
"syntax": ":is( <selector># )", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also please change <selector>#
to <complex-selector>#
to minimise breakage of #287 (which should’ve been meged before this)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure; updated.
css/selectors.json
Outdated
":matches": { | ||
"syntax": ":matches( <selector># )", | ||
":is": { | ||
"syntax": ":is( <complex-selector># )", | ||
"groups": [ | ||
"Pseudo-classes", | ||
"Selectors" | ||
], | ||
"status": "standard", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, this is probably experimental
now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack, forgot about that, thanks! I did set it as experimental in BCD.
css/selectors.json
Outdated
":matches": { | ||
"syntax": ":matches( <selector># )", | ||
":is": { | ||
"syntax": ":is( <complex-selector># )", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, so that's the official syntax that represents a complex selector list, so we don't need to write "one or more complex selectors". Works for me. Updated. |
To minimise merge conflicts, #287 should probably be merged first. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, r+
(maybe you could also move this to be alphabetically sorted)
Done and merged. Thanks! |
As per w3c/csswg-drafts#3258