<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] -->
<style>
body {
  font-family: Ahem;
  color: green;
}

div {
  font-size: 20px;
  background-color: green;
  position: absolute;
}

span {
  font-size: 10px;
}
</style>
<div><span>text inside</span>text outside</div>
