<!DOCTYPE html> | |
<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] --> | |
<style> | |
.container { | |
width: 100px; | |
height: 50px; | |
background: blue; | |
} | |
.inline_content { | |
max-width: 50px; | |
height: 1000px; | |
max-height: 100%; | |
background: green; | |
} | |
</style> | |
<div class=container> | |
<div></div> | |
<img class=inline_content src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"> | |
</div> |