W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 29 May 2020 16:27:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-636064848-1590769628-sysbot+gh@w3.org>
> It also requires zero spec changes, right?

Yes.

> And, if that non-spec-changing technique is really a solution, then isn't there a plain case for a unit-scale-adjust property

Not really.  The use-case here is *not* "scale every single length in the page to match physical dimensions", it's "scale these particular lengths to match physical dimensions, so users can measure real-world things against the screen". So it's absolutely a targeted operation, on particular lengths that only the page author can identify.

> but your unit-scale-adjust property you're suggesting would still be dependent on the browser being able to get the accurate adjustment from the OS

No, they were talking about just adapting my variable-based suggestion into an official property; it would default to `1` and the user could set it as needed to scale the physical lengths up or down.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/614#issuecomment-636064848 using your GitHub account
Received on Friday, 29 May 2020 16:27:10 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:07 UTC