Please ignore non-existing pseudo-class on pseudo-element vendor extension
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 250
- Forks
- 123
- PR merge metrics
- No merged PRs in 30d
Description
Validate the following fragment while treating vendor extensions as warnings:
::-webkit-scrollbar:vertical {
border: 1px solid black;
}
The validator will report the ::-webkit-scrollbar pseudo-element vendor extension as a warning, as expected. However, it reports the :vertical pseudo-class as an error. Maybe that is formally correct, but from a practical point of view, I would very much prefer if vertical would be ignored because it applies to a vendor extension.
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 reproducing the CSS fragment in the issue with vendor extensions treated as warnings, then locate the validator logic that handles pseudo-elements and pseudo-classes. Done means the vendor pseudo-element remains a warning while the attached :vertical pseudo-class no longer produces an error, with the existing validation behavior checked for regressions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, java
- Domain
- tooling, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100