Bug 206142
Summary: | image-set: Support dpi-based image selection and not just (x) | ||
---|---|---|---|
Product: | WebKit | Reporter: | Noam Rosenthal <noam> |
Component: | Images | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | dino, gsnedders, m.goleb+bugzilla, sabouhallawa, simon.fraser, thorton |
Priority: | P2 | Keywords: | BrowserCompat, WPTImpact |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Noam Rosenthal
See https://drafts.csswg.org/css-images-4/#typedef-image-set-option
Currently only background-image: image-set( "foo.png" 1x, url("foo-2x.png") 2x) is supported.
Need to support:
image-set( "foo.png" 1x, url("foo-2x.png") 2x, "foo-print.png" 600dpi );
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
I'm assuming that there are WPT that test this?
Sam Sneddon [:gsnedders]
*** This bug has been marked as a duplicate of bug 100120 ***