Re: [csswg-drafts] [mediaqueries] Non-positive value should be invalid for 'resolution' feature

> A resolution of 0dpi is meaningless; it corresponds to an infinite dot size, which isn't physically possible.

Neither is a device with pixels that are 375 miles across. 

I don't see the practical benefit / difference. No device will have infinitely large pixels. No device will have 375 miles large pixels either. So none of `resolution:0`, `resolution: something-tiny`, `max-resolution:0`, or `max-resolution: something-tiny` will ever match anything. However, both `min-resolution: 0` and `min-resolution: something-tiny` will match the same things (all the visual devices, for which a concept of resolution is meaningful).

So if the practical results are the same, why introduce extra logic in processing, when old fashioned rounding will do just fine?

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

Received on Friday, 26 May 2017 06:01:53 UTC