Skip to content

Commit 34d7f5c

Browse files
authored
Fix typo of unit name in css-env draft (#13008)
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 #10674 Although it also suggests it's going away, so maybe the whole section needs removing.
1 parent 6fd4a7e commit 34d7f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-env-1/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ would cause text sizes to double,
256256
then ''env(preferred-text-scale)'' would resolve to ''2''.
257257

258258
Note: The ''pem'' unit represents this same information;
259-
''1em'' is exactly equivalent to ''calc(1em * env(preferred-text-scale))''.
259+
''1pem'' is exactly equivalent to ''calc(1em * env(preferred-text-scale))''.
260260
When directly sizing things, ''bsem'' is just a more convenient length to use.
261261

262262
<div class=example>

0 commit comments

Comments
 (0)