From bdcf40d79e4eab3f63d6aff76d7833444c5a50d2 Mon Sep 17 00:00:00 2001 From: Chris Couzens Date: Thu, 23 Oct 2025 23:01:32 +0100 Subject: [PATCH] Fix typo of unit name in css-env draft 1em didn't make sense with the associated formula. The context of the line above makes me think it was meant to be pem. The definition of pem here fits the line https://github.com/w3c/csswg-drafts/issues/10674 Although it also suggests it's going away, so maybe the whole section needs removing. --- css-env-1/Overview.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css-env-1/Overview.bs b/css-env-1/Overview.bs index ba6c154af40..0a57724e5c9 100644 --- a/css-env-1/Overview.bs +++ b/css-env-1/Overview.bs @@ -256,7 +256,7 @@ would cause text sizes to double, then ''env(preferred-text-scale)'' would resolve to ''2''. Note: The ''pem'' unit represents this same information; -''1em'' is exactly equivalent to ''calc(1em * env(preferred-text-scale))''. +''1pem'' is exactly equivalent to ''calc(1em * env(preferred-text-scale))''. When directly sizing things, ''bsem'' is just a more convenient length to use.