blob: 2ec6f4421a97d771dd28a77f632f73d44aee9580 [file] [log] [blame]
<!DOCTYPE HTML>
<style>
.aligntest {
line-height: 16px;
vertical-align: calc(25% + 5px);
}
</style>
<hr/>
<span class="aligntest">The first four words</span> in this sentence should have a line-height of 16px; they are also (25%+5px)-aligned, which should raise them 9px relative to the natural baseline.
<hr/>