22be1e85fa
Specifying `line-height: 1.3em` instead of simply `line-height: 1.3` causes odd inheritance properties. In the case of the former, the `line-height` is calculated from the `font-size` of the parent only. In the case of the later, the `line-height` is calculated from the `font-size` of the current child element. This was causing odd spacing issues with footnotes, as the computed `line-height` was far too large, since footnotes use a really small `font-size`. A new test is included for footnotes and additional tests are included in the inline code-block test in order to test multiple font sizes.
807 B
807 B
% Inline Code Blocks
If the line-height
isn't high enough, inline code boxes may intersect.
This would
be a rather unfortunate
event, and we'd like to keep
it from
happening, so this is just some writing
with a bunch of <code>
tags mixed
in to make it likely
that such an issue
would become apparent
.
This would
be arather unfortunate
event, and we'dlike to keep
it from happening,so this is just some writing
with abunch of <code>
tags mixed in tomake it likely
thatsuch an issue
wouldbecome apparent
.
Footnote1
-
This would
be arather unfortunate
event, and we'dlike to keep
it from happening,so this is just some writing
with abunch of <code>
tags mixed in tomake it likely
thatsuch an issue
wouldbecome apparent
. ↩︎