Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement ex and ch correctly from font metrics #7462
Closed
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ex is currently defined as 0.5em, this is conformant but we could do better and properly get the height of the x in the current font. ch is supposed to be the width of 0, but the spec says that it can also be defined as 0.5em.
Blocks #445.
https://drafts.csswg.org/css-values-3/#font-relative-lengths