<!DOCTYPE html>
<html>
<body>
<div>Test for Bugzilla bug:<a href="https://bugs.webkit.org/show_bug.cgi?id=84624"> 84624</a> RenderBlock incorrectly calculates pref width when a replaced object follows a RenderInline with width.</div>
<div>This test verifies that the containing block grows in order to accomodate it's replaced child (image).</div>
<div style="width: 80px; border: 1px solid black;">
    <span style="padding-left: 30px;"><img width=50 height=50 src="resources/50x50.gif"/></span>
</div>
</body>
</html>