Lines Matching refs:RenderBox
26 #include "RenderBox.h"
73 typedef WTF::HashMap<const RenderBox*, int> OverrideSizeMap;
76 bool RenderBox::s_hadOverflowClip = false;
78 RenderBox::RenderBox(Node* node)
95 RenderBox::~RenderBox()
99 int RenderBox::marginBefore() const
115 int RenderBox::marginAfter() const
131 int RenderBox::marginStart() const
138 int RenderBox::marginEnd() const
145 void RenderBox::setMarginStart(int margin)
160 void RenderBox::setMarginEnd(int margin)
175 void RenderBox::setMarginBefore(int margin)
193 void RenderBox::setMarginAfter(int margin)
211 void RenderBox::destroy()
225 void RenderBox::removeFloatingOrPositionedChildFromBlockLists()
259 void RenderBox::styleWillChange(StyleDifference diff, const RenderStyle* newStyle)
298 void RenderBox::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
357 void RenderBox::updateBoxModelInfoFromStyle()
399 void RenderBox::layout()
421 int RenderBox::clientWidth() const
426 int RenderBox::clientHeight() const
431 int RenderBox::scrollWidth() const
442 int RenderBox::scrollHeight() const
451 int RenderBox::scrollLeft() const
456 int RenderBox::scrollTop() const
461 void RenderBox::setScrollLeft(int newLeft)
467 void RenderBox::setScrollTop(int newTop)
473 void RenderBox::absoluteRects(Vector<IntRect>& rects, int tx, int ty)
478 void RenderBox::absoluteQuads(Vector<FloatQuad>& quads)
483 void RenderBox::updateLayerTransform()
490 IntRect RenderBox::absoluteContentBox() const
498 FloatQuad RenderBox::absoluteContentQuad() const
504 IntRect RenderBox::outlineBoundsForRepaint(RenderBoxModelObject* repaintContainer, IntPoint* cachedOffsetToRepaintContainer) const
524 void RenderBox::addFocusRingRects(Vector<IntRect>& rects, int tx, int ty)
530 IntRect RenderBox::reflectionBox() const
554 int RenderBox::reflectionOffset() const
563 IntRect RenderBox::reflectedRect(const IntRect& r) const
587 bool RenderBox::includeVerticalScrollbarSize() const
593 bool RenderBox::includeHorizontalScrollbarSize() const
599 int RenderBox::verticalScrollbarWidth() const
604 int RenderBox::horizontalScrollbarHeight() const
609 bool RenderBox::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier, Node** stopNode)
627 bool RenderBox::logicalScroll(ScrollLogicalDirection direction, ScrollGranularity granularity, float multiplier, Node** stopNode)
657 bool RenderBox::canBeScrolledAndHasScrollableArea() const
662 bool RenderBox::canBeProgramaticallyScrolled(bool) const
667 void RenderBox::autoscroll()
673 void RenderBox::panScroll(const IntPoint& source)
679 int RenderBox::minPreferredLogicalWidth() const
682 const_cast<RenderBox*>(this)->computePreferredLogicalWidths();
687 int RenderBox::maxPreferredLogicalWidth() const
690 const_cast<RenderBox*>(this)->computePreferredLogicalWidths();
695 int RenderBox::overrideSize() const
702 void RenderBox::setOverrideSize(int s)
717 int RenderBox::overrideWidth() const
722 int RenderBox::overrideHeight() const
727 int RenderBox::computeBorderBoxLogicalWidth(int width) const
735 int RenderBox::computeBorderBoxLogicalHeight(int height) const
743 int RenderBox::computeContentBoxLogicalWidth(int width) const
750 int RenderBox::computeContentBoxLogicalHeight(int height) const
758 bool RenderBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, int xPos, int yPos, int tx, int ty, HitTestAction action)
785 void RenderBox::paint(PaintInfo& paintInfo, int tx, int ty)
797 void RenderBox::paintRootBoxFillLayers(const PaintInfo& paintInfo)
820 void RenderBox::paintBoxDecorations(PaintInfo& paintInfo, int tx, int ty)
827 void RenderBox::paintBoxDecorationsWithSize(PaintInfo& paintInfo, int tx, int ty, int width, int height)
858 void RenderBox::paintMask(PaintInfo& paintInfo, int tx, int ty)
873 void RenderBox::paintMaskImages(const PaintInfo& paintInfo, int tx, int ty, int w, int h)
939 IntRect RenderBox::maskClipRect()
958 void RenderBox::paintFillLayers(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, int tx, int ty, int width, int height, CompositeOperator op, RenderObject* backgroundObject)
967 void RenderBox::paintFillLayer(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, int tx, int ty, int width, int height, CompositeOperator op, RenderObject* backgroundObject)
984 void RenderBox::imageChanged(WrappedImagePtr image, const IntRect*)
1006 bool RenderBox::repaintLayerRectsForImage(WrappedImagePtr image, const FillLayer* layers, bool drawingBackground)
1009 RenderBox* layerRenderer = 0;
1054 void RenderBox::paintCustomHighlight(int tx, int ty, const AtomicString& type, bool behindText)
1077 bool RenderBox::pushContentsClip(PaintInfo& paintInfo, int tx, int ty)
1103 void RenderBox::popContentsClip(PaintInfo& paintInfo, PaintPhase originalPhase, int tx, int ty)
1116 IntRect RenderBox::overflowClipRect(int tx, int ty, OverlayScrollbarSizeRelevancy relevancy)
1138 IntRect RenderBox::clipRect(int tx, int ty)
1166 int RenderBox::containingBlockLogicalWidthForContent() const
1174 int RenderBox::perpendicularContainingBlockLogicalHeight() const
1192 void RenderBox::mapLocalToContainer(RenderBoxModelObject* repaintContainer, bool fixed, bool useTransforms, TransformState& transformState) const
1244 void RenderBox::mapAbsoluteToLocalPoint(bool fixed, bool useTransforms, TransformState& transformState) const
1275 IntSize RenderBox::offsetFromContainer(RenderObject* o, const IntPoint& point) const
1306 InlineBox* RenderBox::createInlineBox()
1311 void RenderBox::dirtyLineBoxes(bool fullLayout)
1322 void RenderBox::positionLineBox(InlineBox* box)
1353 void RenderBox::deleteLineBoxWrapper()
1363 IntRect RenderBox::clippedOverflowRectForRepaint(RenderBoxModelObject* repaintContainer)
1394 void RenderBox::computeRectForRepaint(RenderBoxModelObject* repaintContainer, IntRect& rect, bool fixed)
1477 RenderBox* containerBox = toRenderBox(o);
1502 void RenderBox::repaintDuringLayoutIfMoved(const IntRect& rect)
1521 void RenderBox::setVisibleWidth(int newWidth) {
1531 bool RenderBox::checkAndSetRelayoutChildren(bool* relayoutChildren) {
1541 void RenderBox::computeLogicalWidth()
1674 int RenderBox::computeLogicalWidthUsing(LogicalWidthType widthType, int availableLogicalWidth)
1701 bool RenderBox::sizesToIntrinsicLogicalWidth(LogicalWidthType widthType) const
1744 void RenderBox::computeInlineDirectionMargins(RenderBlock* containingBlock, int containerWidth, int childWidth)
1780 void RenderBox::computeLogicalHeight()
1894 int RenderBox::computeLogicalHeightUsing(const Length& h)
1910 int RenderBox::computePercentageLogicalHeight(const Length& height)
1993 int RenderBox::computeReplacedLogicalWidth(bool includeMaxWidth) const
2002 int RenderBox::computeReplacedLogicalWidthUsing(Length logicalWidth) const
2021 int RenderBox::computeReplacedLogicalHeight() const
2030 int RenderBox::computeReplacedLogicalHeightUsing(Length logicalHeight) const
2040 toRenderBlock(cb)->addPercentHeightDescendant(const_cast<RenderBox*>(this));
2079 int RenderBox::availableLogicalHeight() const
2084 int RenderBox::availableLogicalHeightUsing(const Length& h) const
2115 void RenderBox::computeBlockDirectionMargins(RenderBlock* containingBlock)
2134 int RenderBox::containingBlockLogicalWidthForPositioned(const RenderBoxModelObject* containingBlock, bool checkForPerpendicularWritingMode) const
2174 int RenderBox::containingBlockLogicalHeightForPositioned(const RenderBoxModelObject* containingBlock, bool checkForPerpendicularWritingMode) const
2211 static void computeInlineStaticDistance(Length& logicalLeft, Length& logicalRight, const RenderBox* child, const RenderBoxModelObject* containerBlock, int containerLogicalWidth,
2226 RenderBox* enclosingBox = child->parent()->enclosingBox();
2237 void RenderBox::computePositionedLogicalWidth()
2250 // in similar situations in other parts of the RenderBox class (see computeLogicalWidth()
2380 static void computeLogicalLeftPositionedOffset(int& logicalLeftPos, const RenderBox* child, int logicalWidthValue, const RenderBoxModelObject* containerBlock, int containerLogicalWidth)
2391 void RenderBox::computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection,
2564 static void computeBlockStaticDistance(Length& logicalTop, Length& logicalBottom, const RenderBox* child, const RenderBoxModelObject* containerBlock)
2578 void RenderBox::computePositionedLogicalHeight()
2683 static void computeLogicalTopPositionedOffset(int& logicalTopPos, const RenderBox* child, int logicalHeightValue, const RenderBoxModelObject* containerBlock, int containerLogicalHeight)
2705 void RenderBox::computePositionedLogicalHeightUsing(Length logicalHeightLength, const RenderBoxModelObject* containerBlock,
2825 void RenderBox::computePositionedLogicalWidthReplaced()
2990 void RenderBox::computePositionedLogicalHeightReplaced()
3120 IntRect RenderBox::localCaretRect(InlineBox* box, int caretOffset, int* extraWidthToEndOfLine)
3161 VisiblePosition RenderBox::positionForPoint(const IntPoint& point)
3183 RenderBox* closestRenderer = 0;
3198 RenderBox* renderer = toRenderBox(renderObject);
3251 bool RenderBox::shrinkToAvoidFloats() const
3261 bool RenderBox::avoidsFloats() const
3266 void RenderBox::addShadowOverflow()
3281 void RenderBox::addOverflowFromChild(RenderBox* child, const IntSize& delta)
3300 void RenderBox::addLayoutOverflow(const IntRect& rect)
3336 void RenderBox::addVisualOverflow(const IntRect& rect)
3348 void RenderBox::clearLayoutOverflow()
3361 int RenderBox::lineHeight(bool /*firstLine*/, LineDirectionMode direction, LinePositionMode /*linePositionMode*/) const
3368 int RenderBox::baselinePosition(FontBaseline baselineType, bool /*firstLine*/, LineDirectionMode direction, LinePositionMode /*linePositionMode*/) const
3380 RenderLayer* RenderBox::enclosingFloatPaintingLayer() const
3392 IntRect RenderBox::logicalVisualOverflowRectForPropagation(RenderStyle* parentStyle) const
3400 IntRect RenderBox::visualOverflowRectForPropagation(RenderStyle* parentStyle) const
3418 IntRect RenderBox::logicalLayoutOverflowRectForPropagation(RenderStyle* parentStyle) const
3426 IntRect RenderBox::layoutOverflowRectForPropagation(RenderStyle* parentStyle) const
3465 IntPoint RenderBox::flipForWritingMode(const RenderBox* child, const IntPoint& point, FlippingAdjustment adjustment) const
3477 void RenderBox::flipForWritingMode(IntRect& rect) const
3488 int RenderBox::flipForWritingMode(int position) const
3495 IntPoint RenderBox::flipForWritingMode(const IntPoint& position) const
3502 IntPoint RenderBox::flipForWritingModeIncludingColumns(const IntPoint& point) const
3509 IntSize RenderBox::flipForWritingMode(const IntSize& offset) const
3516 FloatPoint RenderBox::flipForWritingMode(const FloatPoint& position) const
3523 void RenderBox::flipForWritingMode(FloatRect& rect) const
3534 IntSize RenderBox::locationOffsetIncludingFlipping() const