| 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 fd0650f96d2a910fb783b384d6d8e56ed3f0c364..53caeacc5a976b3f446a9904913ce4bbf3fe8a00 100644 | 
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp | 
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp | 
| @@ -4179,7 +4179,9 @@ static bool logicalWidthIsResolvable(const LayoutBox& layoutBox) | 
| return true; | 
| if (box->isLayoutView()) | 
| return true; | 
| -    if (box->isOutOfFlowPositioned() && !box->style()->logicalLeft().isAuto() && !box->style()->logicalRight().isAuto()) | 
| +    // The size of the containing block of an absolutely positioned element is always definite with respect to that | 
| +    // element (http://dev.w3.org/csswg/css-sizing-3/#definite). | 
| +    if (box->isOutOfFlowPositioned()) | 
| return true; | 
| if (box->hasOverrideContainingBlockLogicalWidth()) | 
| return box->overrideContainingBlockContentLogicalWidth() != -1; | 
| @@ -4203,14 +4205,16 @@ bool LayoutBox::percentageLogicalHeightIsResolvable() const | 
| bool LayoutBox::hasDefiniteLogicalHeight() const | 
| { | 
| const Length& logicalHeight = style()->logicalHeight(); | 
| +    if (logicalHeight.isIntrinsicOrAuto()) | 
| +        return false; | 
| if (logicalHeight.isFixed()) | 
| return true; | 
| -    if (isOutOfFlowPositioned() && !style()->logicalTop().isAuto() && !style()->logicalBottom().isAuto()) | 
| +    // The size of the containing block of an absolutely positioned element is always definite with respect to that | 
| +    // element (http://dev.w3.org/csswg/css-sizing-3/#definite). | 
| +    if (isOutOfFlowPositioned()) | 
| return true; | 
| if (hasOverrideContainingBlockLogicalHeight()) | 
| return overrideContainingBlockContentLogicalHeight() != -1; | 
| -    if (logicalHeight.isIntrinsicOrAuto()) | 
| -        return false; | 
|  | 
| return percentageLogicalHeightIsResolvable(); | 
| } | 
|  |