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

> You don't need the same website to have the exact same physical measurements if it is displayed on a watch, a phone, a wall projector, or virtual reality goggles [...]

The examples you give are extreme cases, in our case we are dealing with varying sizes of tablets. We need some elements that are part of the website to be consistent in scale across all of those. If that makes the site unusable on a smart watch or a wall projector, that is totally fine. It does not have to be.

> That's what a physical unit independent of the device would give you: a responsive px unit that changes based on viewing distance AND physical measurements that stay the same in any environments.

I am not sure i quite follow what you are saying here, maybe we are talking about different things here. For what we are trying to do, we do not care about viewing distance, consistent layout or being compatible with every device there is. We just need an element to line up 1-1 with a physical object on any screen it is viewed.

The way the current "physical" units are anchored to pixels is exactly the culprit of this issue. We are not going to write our own rendering engine to set a different anchor.

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

Received on Tuesday, 7 April 2020 06:39:06 UTC