4 ms·
It's a good point, I did consider using that feature but the problem is it's not very cross browser friendly, so I stuck with simpler DIY pixel scaling. In fai
by tomxor 5y ago
It's a good point, I did consider using that feature but the problem is it's not very cross browser friendly, so I stuck with simpler DIY pixel scaling.
In fairness I think there is basically two different values for chrome and firefox, although I'm not sure about safari and cannot test it...
- chrismorgan 5y agoFirefox shipped the value "pixelated" five months ago, so you don’t need to worry about a "crisp-edges" fallback any more. Safari, back in 2016. https://caniuse.com/css-crisp-edges https://caniuse.com/css-crisp-edges This is valuable for high-DPI and zoomed pages, to avoid bilinear or similar scaling; the matter of halving the canvas size was a red herring.
- tomxor 5y agoAh, good to know it's finally normalised.