<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] --> | |
<style> | |
.container { | |
background-color: green; | |
color: green; | |
font-size: 40px; | |
font-family: Ahem; | |
} | |
span { | |
vertical-align: middle; | |
} | |
</style> | |
<div class=container> | |
XX | |
<span> | |
XX | |
</span> | |
</div> |