diff options
Diffstat (limited to 'Source/WebCore/rendering/RenderBox.h')
-rw-r--r-- | Source/WebCore/rendering/RenderBox.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebCore/rendering/RenderBox.h b/Source/WebCore/rendering/RenderBox.h index 590875a8b..40dfe1539 100644 --- a/Source/WebCore/rendering/RenderBox.h +++ b/Source/WebCore/rendering/RenderBox.h @@ -399,6 +399,7 @@ public: virtual LayoutUnit computeReplacedLogicalWidth(bool includeMaxWidth = true) const; virtual LayoutUnit computeReplacedLogicalHeight() const; + static bool percentageLogicalHeightIsResolvableFromBlock(const RenderBlock* containingBlock, bool outOfFlowPositioned); LayoutUnit computePercentageLogicalHeight(const Length& height) const; // Block flows subclass availableWidth/Height to handle multi column layout (shrinking the width/height available to children when laying out.) @@ -583,6 +584,8 @@ private: // Returns true if we did a full repaint bool repaintLayerRectsForImage(WrappedImagePtr image, const FillLayer* layers, bool drawingBackground); + + bool skipContainingBlockForPercentHeightCalculation(const RenderBox* containingBlock) const; LayoutUnit containingBlockLogicalWidthForPositioned(const RenderBoxModelObject* containingBlock, RenderRegion* = 0, LayoutUnit offsetFromLogicalTopOfFirstPage = 0, bool checkForPerpendicularWritingMode = true) const; |