Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A better fix for the font-size 'smaller' problem.
This resolves #991, replacing the earlier temporary patch. It takes advantage of the fact that line-height can take the form of a unit-less integer, in which case it mirrors the font-size, even when it is something abstract, like 'smaller'. We can then read the dummy element's height to learn the effective font-size.
- Loading branch information