parcel-bundler / parcel-bundler/lightningcss
Support all CSS `selectors-4` selectors
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 7.7k
- Forks
- 302
- PR merge metrics
- No merged PRs in 30d
Description
There are currently many selector tests that fail.
- :nth-col() https://github.com/parcel-bundler/lightningcss/pull/302
- :nth-last-col() https://github.com/parcel-bundler/lightningcss/pull/302
- :nth-child(An+B [of S]?) https://github.com/parcel-bundler/lightningcss/issues/392
- :nth-last-child(An+B [of S]?) https://github.com/parcel-bundler/lightningcss/issues/392
- More…
e.g.
https://www.w3.org/TR/selectors-4/#the-nth-col-pseudo
:nth-col(odd) {
width: 10px;
}
:nth-col(2n+1) {
width: 20px;
}
:nth-last-col(odd) {
width: 30px;
}
:nth-last-col(2n+1) {
width: 40px;
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the existing selector tests referenced in the issue and compare the failures with the Selectors Level 4 specification. Identify the remaining unchecked selector support and its relevant parser or compiler entry points. Done means the applicable selectors-4 tests pass, including the examples in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100