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.
Showing
Please
register
or
sign in
to comment