Skip to content
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

feat(css): Update syntax for an+b type #907

Merged
merged 1 commit into from
Feb 24, 2025
Merged

Conversation

skyclouds2001
Copy link
Contributor

Description

see https://drafts.csswg.org/selectors/#nth-last-of-type-pseudo and https://drafts.csswg.org/css-syntax-3/#anb-microsyntax

such syntax has been used by selectors like :nth-child() :nth-last-child() :nth-last-of-type() :nth-of-type()

Motivation

Additional details

Related issues and pull requests

@skyclouds2001 skyclouds2001 marked this pull request as ready for review January 22, 2025 16:58
@skyclouds2001 skyclouds2001 requested a review from a team as a code owner January 22, 2025 16:58
@skyclouds2001 skyclouds2001 requested review from pepelsbey and removed request for a team January 22, 2025 16:58
Copy link
Member

@pepelsbey pepelsbey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you :)

@pepelsbey pepelsbey merged commit ffeb23b into mdn:main Feb 24, 2025
1 check passed
@skyclouds2001 skyclouds2001 deleted the an+b branch February 24, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants