Bug 206142

Summary: image-set: Support dpi-based image selection and not just (x)
Product: WebKit Reporter: Noam Rosenthal <noam>
Component: ImagesAssignee: 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
Reported 2020-01-12 02:05:28 PST
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
Simon Fraser (smfr)
Comment 1 2020-01-13 11:04:24 PST
I'm assuming that there are WPT that test this?
Sam Sneddon [:gsnedders]
Comment 2 2021-09-07 03:02:21 PDT
*** This bug has been marked as a duplicate of bug 100120 ***
Note You need to log in before you can comment on or make changes to this bug.