- From: Josh Tumath via GitHub <sysbot+gh@w3.org>
- Date: Fri, 24 Jan 2025 17:29:31 +0000
- To: public-css-archive@w3.org
> In addition to shipping `uem`, we should meet authors where they are by _also_ exposing something in env. That would allow authors to do `text-size-adjust: env(something)` to get the desired effect globally. I'd be happy with that as well. So I think we can bring to the call two proposals: * A new length unit called uem (subject to bikeshedding). 1uem is equivalent to 16px when the user agent/operating system's font scaling is set to the default value. If the user increases the UA/OS font size by 200%, 1uem is equivalent to 32px. * A new `env()` value called `env(system-font-scale)` (subject to bikeshedding). It provides a percentage value of the operating system font scale (that the user has selected in accessibility settings). It is not affected by the display scaling for pixel density (we already have the `<resolution>` data type for that). -- GitHub Notification of comment by JoshTumath Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10674#issuecomment-2613047477 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 24 January 2025 17:29:31 UTC