Index: Source/WebCore/rendering/RenderBox.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderBox.cpp (revision 127650) |
+++ Source/WebCore/rendering/RenderBox.cpp (working copy) |
@@ -2184,10 +2184,7 @@ |
// containing block's block-flow. |
// https://bugs.webkit.org/show_bug.cgi?id=46496 |
const LayoutUnit cw = isOutOfFlowPositioned() ? containingBlockLogicalWidthForPositioned(toRenderBoxModelObject(container())) : containingBlockLogicalWidthForContent(); |
- Length containerLogicalWidth = containingBlock()->style()->logicalWidth(); |
- // FIXME: Handle cases when containing block width is calculated or viewport percent. |
- // https://bugs.webkit.org/show_bug.cgi?id=91071 |
- if (cw > 0 || (!cw && (containerLogicalWidth.isFixed() || containerLogicalWidth.isPercent()))) |
+ if (cw > 0) |
return computeContentBoxLogicalWidth(minimumValueForLength(logicalWidth, cw)); |
} |
// fall through |