Skip to content

css.types.image.image-set - Note related to Firefox incomplete/outdated #18503

@SebastianZ

Description

@SebastianZ

What type of issue is this?

Other

What information was incorrect, unhelpful, or incomplete?

The note related to Firefox currently refers to bug 1696314 for support of gradients in cursor and content.

That note is somewhat incomplete and incorrect.

What browsers does this problem apply to, if applicable?

Firefox

What did you expect to see?

Correct info about support in cursor and content.

Did you test this? If so, how?

I've tested support in Firefox 108 to confirm whether my previous observations regarding this feature still hold true. And I also checked support in Chrome 108, which currently only has support for the -webkit-prefixed version, but there at least also for the restricted version of image-set(). See the notes below for more info.

Do you have anything more you want to share?

The mentioned bug actually only relates to the cursor property. And while it initially only focused on gradients, it actually means support for the complete <image> data type syntax. Therefore, I have changed the bug's summary now.

There's a separate bug for supporting the full <image> syntax in the content property: bug 1684958.

Also note, that the specifications only require full <image> support for content but for cursor it is optional. What is required for cursor is a subset of image-set() that is restricted to <url> and <url-set> data types.

With the notes above, I suggest to change the current note to only refer to content and refer to bug 1684958. And for support in cursor there should be at least one new browser compat entry or better two, one for the restricted syntax and one for full <image> support, with the latter referring to bug 1696314.

It might also be worth explaining this special case regarding cursor within the related page itself in addition to the compat data changes.

Sebastian

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/image/image-set

MDN metadata

MDN page report details
  • Query: css.types.image.image-set
  • Report started: 2022-12-30T22:04:02.186Z

Metadata

Metadata

Assignees

Labels

data:cssCompat data for CSS features. https://developer.mozilla.org/docs/Web/CSSp4Low priority – Community PRs accepted.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions