2010-04-23 Shinichiro Hamaji <hamaji@chromium.org>
authorhamaji@chromium.org <hamaji@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Apr 2010 17:33:19 +0000 (17:33 +0000)
committerhamaji@chromium.org <hamaji@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Apr 2010 17:33:19 +0000 (17:33 +0000)
commit61bc60b323ea9aa073bfb42b31e7f7c9e67b7fb8
treeae4afcfbb5a99b712359505366dcdfd2575a8d79
parentd927caa28c26e646a0133246e58a9992fdfc2dd7
2010-04-23  Shinichiro Hamaji  <hamaji@chromium.org>

        Reviewed by Darin Adler.

        Need borderAndPadding(Width|Height)
        https://bugs.webkit.org/show_bug.cgi?id=38046

        Refactoring only, so no new tests.

        * rendering/InlineBox.cpp:
        (WebCore::InlineBox::height):
        * rendering/RenderApplet.cpp:
        (WebCore::RenderApplet::createWidgetIfNecessary):
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::isSelfCollapsingBlock):
        (WebCore::RenderBlock::calcPrefWidths):
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::calcBorderBoxWidth):
        (WebCore::RenderBox::calcBorderBoxHeight):
        (WebCore::RenderBox::calcContentBoxWidth):
        (WebCore::RenderBox::calcContentBoxHeight):
        (WebCore::RenderBox::calcWidth):
        (WebCore::RenderBox::calcHeight):
        (WebCore::RenderBox::calcPercentageHeight):
        (WebCore::RenderBox::calcReplacedHeightUsing):
        (WebCore::RenderBox::availableHeightUsing):
        (WebCore::RenderBox::calcAbsoluteHorizontal):
        (WebCore::RenderBox::calcAbsoluteVertical):
        (WebCore::RenderBox::calcAbsoluteHorizontalReplaced):
        (WebCore::RenderBox::calcAbsoluteVerticalReplaced):
        (WebCore::RenderBox::positionForPoint):
        * rendering/RenderBoxModelObject.h:
        (WebCore::RenderBoxModelObject::borderAndPaddingHeight):
        (WebCore::RenderBoxModelObject::borderAndPaddingWidth):
        * rendering/RenderDataGrid.cpp:
        (WebCore::RenderDataGrid::calcPrefWidths):
        * rendering/RenderFieldset.cpp:
        (WebCore::RenderFieldset::calcPrefWidths):
        * rendering/RenderFileUploadControl.cpp:
        (WebCore::RenderFileUploadControl::calcPrefWidths):
        * rendering/RenderFlexibleBox.cpp:
        (WebCore::RenderFlexibleBox::calcPrefWidths):
        (WebCore::RenderFlexibleBox::allowedChildFlex):
        * rendering/RenderImage.cpp:
        (WebCore::RenderImage::calcPrefWidths):
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::resize):
        * rendering/RenderListBox.cpp:
        (WebCore::RenderListBox::calcPrefWidths):
        (WebCore::RenderListBox::calcHeight):
        * rendering/RenderMenuList.cpp:
        (WebCore::RenderMenuList::calcPrefWidths):
        * rendering/RenderReplaced.cpp:
        (WebCore::RenderReplaced::calcPrefWidths):
        * rendering/RenderSVGRoot.cpp:
        (WebCore::RenderSVGRoot::calcPrefWidths):
        * rendering/RenderSlider.cpp:
        (WebCore::RenderSlider::calcPrefWidths):
        (WebCore::RenderSlider::layout):
        * rendering/RenderTableCell.cpp:
        (WebCore::RenderTableCell::styleOrColWidth):
        * rendering/RenderTextControl.cpp:
        (WebCore::RenderTextControl::textBlockHeight):
        (WebCore::RenderTextControl::textBlockWidth):
        (WebCore::RenderTextControl::calcHeight):
        (WebCore::RenderTextControl::calcPrefWidths):
        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::layout):
        * rendering/RenderWidget.cpp:
        (WebCore::RenderWidget::updateWidgetPosition):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58177 268f45cc-cd09-0410-ab3c-d52691b4dbfc
21 files changed:
WebCore/ChangeLog
WebCore/rendering/InlineBox.cpp
WebCore/rendering/RenderApplet.cpp
WebCore/rendering/RenderBlock.cpp
WebCore/rendering/RenderBox.cpp
WebCore/rendering/RenderBoxModelObject.h
WebCore/rendering/RenderDataGrid.cpp
WebCore/rendering/RenderFieldset.cpp
WebCore/rendering/RenderFileUploadControl.cpp
WebCore/rendering/RenderFlexibleBox.cpp
WebCore/rendering/RenderImage.cpp
WebCore/rendering/RenderLayer.cpp
WebCore/rendering/RenderListBox.cpp
WebCore/rendering/RenderMenuList.cpp
WebCore/rendering/RenderReplaced.cpp
WebCore/rendering/RenderSVGRoot.cpp
WebCore/rendering/RenderSlider.cpp
WebCore/rendering/RenderTableCell.cpp
WebCore/rendering/RenderTextControl.cpp
WebCore/rendering/RenderTextControlSingleLine.cpp
WebCore/rendering/RenderWidget.cpp