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

emilio has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images] image-set() resolution should be applied on-top of, not instead-of the natural image resolution. ==
Right now https://drafts.csswg.org/css-images-4/#image-set-notation says:

> If not specified, it behaves as 1x for the purpose of selecting which <image-set-option> to use. It also defaults the image’s natural resolution to 1x, but if some other source of data supplies a natural resolution, that resolution must be honored instead.

That doesn't seem to match implementations, which apply the scaling on top of the natural orientation of the image. See https://github.com/whatwg/html/pull/5574#issuecomment-826347560 and previous discussion.

cc @noamr 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6241 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 25 April 2021 16:07:18 UTC