Make sure line breaks occur both before and after the anonymous inline-block.
Created attachment 249769 [details] Patch
Fixed in r182188.
Comment on attachment 249769 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249769&action=review > Source/WebCore/rendering/RenderBlockFlow.cpp:4118 > + if (((canBreakReplacedElement && (autoWrap || oldAutoWrap) && (!isPrevChildInlineFlow || shouldBreakLineAfterText)) || clearPreviousFloat) || isAnonymousInlineBlock) { is the extra parenthesis necessary? you've got ((...) || clearPreviousFloat || isAnonymousInlineBlock)