<!-- webkit-test-runner [ internal:LayoutFormattingContextEnabled=true internal:LayoutFormattingContextIntegrationEnabled=false ] --> | |
<style> | |
.container { | |
width: 100px; | |
height: 100px; | |
background: red; | |
} | |
.inner { | |
width: 100px; | |
height: 500px; | |
max-height: 100%; | |
background: green; | |
} | |
</style> | |
<div class=container><span><div class=inner></div></span></div> |