mdn / mdn/browser-compat-data

Two entries for CSS image-set() support

Open
#17,911 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

data:css
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

There are two entries for the CSS image-set() function, css.types.image.image-set and css.properties.background-image.image-set.

I interpret css.types.image.image-set to mean support for image-set() in all contexts it should be supported per spec, including background-image, cursor, etc. And css.properties.background-image.image-set is about support for it just in background-image.

The data has gotten out of sync, and is largely duplicated. How should we deal with this?

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 comparing the css.types.image.image-set and css.properties.background-image.image-set entries and reviewing the CSS specification contexts they represent. Determine the intended relationship between the two entries, then define a consistent data model and identify the affected compatibility data. Done means the duplication and out-of-sync behavior have a documented resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
data
Issue type
Refactor
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.