Skip to content

Conversation

lukewarlow
Copy link
Member

[css-env-1] Correct note to use pem not em


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))''.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a simple typo right? Unless I'm massively misunderstanding.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this is a simple typo or copy-pasta

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.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is bsem defined anywhere? I can't seem to find it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants