Skip to content
  • hyatt@apple.com's avatar
    Reviewed by Dan · 21cc37a9
    hyatt@apple.com authored
            http://bugs.webkit.org/show_bug.cgi?id=17485
    
            Refine our behavior for empty inlines so that they work more correctly with margins/borders/padding.
            Fixes a regression on huffingtonpost.com.
    
            New tests added to fast/inline
    
            * rendering/InlineFlowBox.cpp:
            (WebCore::InlineFlowBox::computeLogicalBoxHeights):
            (WebCore::InlineFlowBox::placeBoxesVertically):
            (WebCore::InlineFlowBox::shrinkBoxesWithNoTextChildren):
            * rendering/RenderFlow.cpp:
            (WebCore::RenderFlow::calcMargins):
            * rendering/RenderFlow.h:
            * rendering/RenderObject.h:
            (WebCore::RenderObject::hasHorizontalBordersPaddingOrMargin):
            (WebCore::RenderObject::hasHorizontalBordersOrPadding):
            * rendering/bidi.cpp:
            (WebCore::getBorderPaddingMargin):
            (WebCore::RenderBlock::layoutInlineChildren):
            (WebCore::inlineFlowRequiresLineBox):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    21cc37a9