Skip to content
  • hyatt@apple.com's avatar
    2009-01-22 David Hyatt <hyatt@apple.com> · 774bbed5
    hyatt@apple.com authored
            Devirtualize the marginTop/Right/Left/Bottom functions and move them to RenderBox (along with some of the
            other margin functions that have to come along for the ride).
    
            Reviewed by Oliver Hunt
    
            * css/CSSComputedStyleDeclaration.cpp:
            (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
            * editing/TextIterator.cpp:
            (WebCore::shouldEmitExtraNewlineForNode):
            * rendering/InlineBox.cpp:
            * rendering/InlineBox.h:
            (WebCore::InlineBox::renderBox):
            * rendering/InlineFlowBox.cpp:
            (WebCore::InlineFlowBox::marginLeft):
            (WebCore::InlineFlowBox::marginRight):
            (WebCore::InlineFlowBox::placeBoxesHorizontally):
            (WebCore::InlineFlowBox::computeLogicalBoxHeights):
            (WebCore::InlineFlowBox::placeBoxesVertically):
            (WebCore::InlineFlowBox::shrinkBoxesWithNoTextChildren):
            * rendering/RenderBlock.cpp:
            (WebCore::RenderBlock::isSelfCollapsingBlock):
            (WebCore::RenderBlock::adjustPositionedBlock):
            (WebCore::RenderBlock::handleCompactChild):
            (WebCore::RenderBlock::estimateVerticalPosition):
            (WebCore::getBorderPaddingMargin):
            (WebCore::RenderBlock::calcInlinePrefWidths):
            * rendering/RenderBlock.h:
            * rendering/RenderBox.cpp:
            (WebCore::RenderBox::calcHeight):
            * rendering/RenderBox.h:
            (WebCore::RenderBox::hasHorizontalBordersPaddingOrMargin):
            (WebCore::RenderBox::hasHorizontalBordersOrPadding):
            (WebCore::RenderBox::marginTop):
            (WebCore::RenderBox::marginBottom):
            (WebCore::RenderBox::marginLeft):
            (WebCore::RenderBox::marginRight):
            (WebCore::RenderBox::isSelfCollapsingBlock):
            (WebCore::RenderBox::collapsedMarginTop):
            (WebCore::RenderBox::collapsedMarginBottom):
            (WebCore::RenderBox::isTopMarginQuirk):
            (WebCore::RenderBox::isBottomMarginQuirk):
            (WebCore::RenderBox::maxTopMargin):
            (WebCore::RenderBox::maxBottomMargin):
            * rendering/RenderObject.cpp:
            (WebCore::RenderObject::getAbsoluteRepaintRectWithOutline):
            * rendering/RenderObject.h:
            * rendering/RenderSVGContainer.cpp:
            (WebCore::RenderSVGContainer::lineHeight):
            (WebCore::RenderSVGContainer::baselinePosition):
            * rendering/RenderTextControl.cpp:
            (WebCore::RenderTextControl::calcHeight):
            * rendering/RenderTheme.cpp:
            (WebCore::RenderTheme::baselinePosition):
            * rendering/bidi.cpp:
            (WebCore::getBorderPaddingMargin):
            (WebCore::inlineWidth):
            (WebCore::RenderBlock::computeHorizontalPositionsForLine):
            (WebCore::inlineFlowRequiresLineBox):
            (WebCore::requiresLineBox):
            (WebCore::RenderBlock::findNextLineBreak):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    774bbed5