Re: [csswg-drafts] [css-images-3] image-rendering:pixelated should not force "nearest neighbor" (or similar) when the scale factor is far from an integer (e.g. 150%) (#5837)

Some relevant history: we had a csswg resolution a while ago, back in https://lists.w3.org/Archives/Public/www-style/2014Sep/0384.html , to allow "pixelated" to use a better scaling algorithm **specifically when downscaling** (i.e. for scale factors < 1.0).  Though this edit didn't make it into the spec (yet).

I think this issue here (and today's csswg resolution) is just an elegant generalization of that earlier resolution, to now also suggest (mandate?) a better scaling algorithm for fractional values that are larger than 1 as well -- not just fractional values that are less than 1.  The previously-agreed-upon < 1.0 case is just a special case of the behavior that we resolved on today.

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


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

Received on Thursday, 25 February 2021 05:20:38 UTC