W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2021

Re: [csswg-drafts] [css-images] image-set() resolution should be applied on-top of, not instead-of the natural image resolution. (#6241)

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Thu, 27 May 2021 13:41:24 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-849644821-1622122882-sysbot+gh@w3.org>
> If WPT/selenium supported DPR we could add tests for this.

I think it should be testable anyway. Have an image with 2x density per EXIF, and use it in `image-set("image.png" 3x)`. Test that the image has 6x density with `.clientWidth`.

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6241#issuecomment-849644821 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 27 May 2021 13:41:26 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:23 UTC