| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index c2464543b3ab9518d900671862dcfd1dfa5be0ca..74dd2c23184140e2b19c9f85cf2c3b336b1797d0 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -2518,6 +2518,13 @@ LayoutUnit LayoutBox::computeContentAndScrollbarLogicalHeightUsing(SizeType heig
|
| return -1;
|
| }
|
|
|
| +bool LayoutBox::stretchesToViewportInQuirksMode() const
|
| +{
|
| + if (!isDocumentElement() && !isBody())
|
| + return false;
|
| + return style()->logicalHeight().isAuto() && !isFloatingOrOutOfFlowPositioned() && !isInline() && !flowThreadContainingBlock();
|
| +}
|
| +
|
| bool LayoutBox::skipContainingBlockForPercentHeightCalculation(const LayoutBox* containingBlock) const
|
| {
|
| // If the writing mode of the containing block is orthogonal to ours, it means that we shouldn't
|
|
|