image-set property is reported as an error... incorrectly
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 250
- Forks
- 123
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
The image-set property is not recognized by w3c Jigsaw validator. Here is an example from MDN image-set page:
.box {
background-image: -webkit-image-set(
url("small-balloons.jpg") 1x,
url("large-balloons.jpg") 2x);
background-image: image-set(
url("small-balloons.jpg") 1x,
url("large-balloons.jpg") 2x);
}
The validator seems to recognize only the -webkit version.
Source : https://developer.mozilla.org/en-US/docs/Web/CSS/image/image-set
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 MDN image-set example from the issue in the W3C CSS Validator. Trace how the validator recognizes the prefixed and unprefixed image-set forms. Done means the unprefixed property is accepted without an error while the existing example remains valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- tooling, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100