Pseudo-element not at the end of a selector
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 310
- Forks
- 70
- Avg merge
- 2h 9m
- Merged PRs (30d)
- 4
Description
Selectors like .something::before:hover are perfectly valid, but this library rejects them. Sure, they're not particularly useful for querying in offline contexts, but for parsing arbitrary stylesheets it would be useful to support them.
Contributor guide
No contributing guide indexed for this repository
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 tracing how the library parses and validates pseudo-elements in selectors such as .something::before:hover. Add coverage for this valid ordering and verify that arbitrary stylesheets containing it are accepted without breaking existing selector behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100