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

[css-selectors-4] Use actual types in nth pseudo class selectors #9494

Open
pyoor opened this issue Oct 18, 2023 · 1 comment · May be fixed by #9552
Open

[css-selectors-4] Use actual types in nth pseudo class selectors #9494

pyoor opened this issue Oct 18, 2023 · 1 comment · May be fixed by #9552
Labels
selectors-4 Current Work

Comments

@pyoor
Copy link

pyoor commented Oct 18, 2023

The syntax for nth pseudo class selectors currently use a simplified syntax which later references actual types in the prose. It would be simpler and better for tooling which parses this data to use the actual types.

For example:
:nth-child(An+B [of S]? )

Would be represented as:
:nth-child(<an-b> [of <complex-real-selector-list>]? )

If this is acceptable I'd be happy to supply a patch.

See also #9473.

@cdoublev
Copy link
Collaborator

If this is acceptable I'd be happy to supply a patch.

Please do, see #9480.

@cdoublev cdoublev added the selectors-4 Current Work label Oct 23, 2023
@cdoublev cdoublev linked a pull request Nov 2, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
selectors-4 Current Work
2 participants