Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ex and ch correctly from font metrics #7462

Closed
nox opened this issue Aug 30, 2015 · 2 comments
Closed

Implement ex and ch correctly from font metrics #7462

nox opened this issue Aug 30, 2015 · 2 comments

Comments

@nox
Copy link
Member

@nox nox commented Aug 30, 2015

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

@emilio
Copy link
Member

@emilio emilio commented Nov 5, 2016

Probably blocking stylo too. cc @bholley

@nox
Copy link
Member Author

@nox nox commented Sep 30, 2017

Closing as duplicate of #14079.

@nox nox closed this Sep 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.