Re: [csswg-drafts] [css-values] Ability to address actual physical size (#614)

> It may not have to work there for you, but if you're going to add a universal concept to CSS then it has to work everywhere

Agreed. The physical size for a smart watch could be reported correctly and the content can scale accordingly. It would *work* in that sense. What i meant is that it would not be usable, since the screen of the smart watch is physically too small.

> using a projector

I guess the projector could report some kind of default to the OS, possibly adapting dynamically to some value measured during auto-focus?

Sure, CSS can not magically solve cases where the display is modified in ways that are not detectable in the OS. Some OS's might not relay that kind of information at all. I like your suggestion of introducing an API that forces handling the case were the physical pixel size can not be determined.

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

Received on Tuesday, 7 April 2020 09:20:51 UTC