Bug 1107646 (image-set)

Implement image-set().

NEW
Unassigned

Status

()

4 years ago
a month ago

People

(Reporter: marcosc, Unassigned)

Tracking

(Depends on: 1 bug, Blocks: 3 bugs, {dev-doc-needed})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [tw-dom], URL)

(Reporter)

Description

4 years ago
Implement image-set from CSS Image Values and Replaced Content Module Level 3 to enable a complete responsive images solution.
(Reporter)

Updated

4 years ago
Blocks: 1107640
(Reporter)

Updated

4 years ago
Alias: image-set

Comment 1

3 years ago
Up to now, only Firefox and IE (Edge) does not support image-set.

http://caniuse.com/#feat=css-image-set
Whiteboard: [tw-dom]
https://github.com/w3c/csswg-drafts/issues/1148 suggests to move this feature to css-images-4 due to a lack of implementations.

Sebastian
Keywords: dev-doc-needed
OS: Mac OS X → All
Hardware: x86 → All
Blocks: 703431
Blocks: 1425694

Comment 3

5 months ago
Can you please implement image-set() ? When devicePixelRatio is more than 1, and I use the custom cursor (PNG image), Firefox scales up the cursor according to devicePixelRatio (so it is blurry). W3C suggests to solve it with image-set() (which already works in Chrome for several years).
I want to do some cleanup of style images in bug 1440305 once I'm back from vacation. I'll do it with implementing this into account, so that implementing this is trivial-ish after that.
Depends on: 1440305
Summary: Implement image-set from CSS Image Values and Replaced Content Module Level 3 → Implement image-set().
Depends on: 1460655
Comment hidden (advocacy)
Comment hidden (advocacy)
Comment hidden (offtopic)
Comment hidden (offtopic)
You need to log in before you can comment on or make changes to this bug.