<!doctype html>
<style>
div {
  -webkit-line-box-contain: inline-box;
  font-size: 100px;
  line-height: 0;
  font-family: Ahem;
  background-color: green;
  width: 100px;
}

span {
  background-color: red;
  margin: 50px;
}
</style>
<div><span></span></div>
