- From: davidsgrogan via GitHub <sysbot+gh@w3.org>
- Date: Tue, 21 Jan 2025 04:58:38 +0000
- To: public-css-archive@w3.org
> This is what I would like to propose, then: **A new length unit called `uem` (name can be bikeshedded). `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`.** Chrome on Android allows the user to increase the UA and OS font sizes independently (I think Chrome on Windows also). If the user increases the UA and OS font sizes by 150% _each_, would `1uem` be equivalent to `36px` because 16px * 1.5 * 1.5 = 36px? And `1rem` would be equivalent to `24px`, same as it is today? In an earlier comment you mentioned you anticipate using this unit would become a best practice. What do you envision? Would author style sheets usually include the below? Would `rem` become relatively useless? ``` :root { font-size: 1uem; } ``` -- GitHub Notification of comment by davidsgrogan Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10674#issuecomment-2603658127 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 21 January 2025 04:58:39 UTC