parcel-bundler / parcel-bundler/lightningcss

Support all CSS `selectors-4` selectors

Open
#87 1 comment 0 reactions 0 assignees View on GitHub

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.

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.