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 ecf56523406d81926d8ab38ceb3fe04ae5cb079c..c2925569776f92ed9e6ce698abc03735b8d539f4 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -1652,6 +1652,8 @@ LayoutUnit LayoutBox::containingBlockLogicalWidthForContent() const |
return overrideContainingBlockContentLogicalWidth(); |
LayoutBlock* cb = containingBlock(); |
+ if (!isTable() && isOutOfFlowPositioned()) |
+ return cb->clientLogicalWidth(); |
return cb->availableLogicalWidth(); |
} |