Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index 8c150d19f17d4ca1257f7ff3f20a7c7360971482..df2ee825edb05a26f8213034e20f78d7a531efee 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -1900,7 +1900,7 @@ void RenderBox::computeLogicalWidth(LogicalExtentComputedValues& computedValues) |
// width. Use the width from the style context. |
// FIXME: Account for block-flow in flexible boxes. |
// https://bugs.webkit.org/show_bug.cgi?id=46418 |
- if (hasOverrideWidth() && (style()->borderFit() == BorderFitLines || parent()->isFlexibleBoxIncludingDeprecated())) { |
+ if (hasOverrideWidth() && parent()->isFlexibleBoxIncludingDeprecated()) { |
computedValues.m_extent = overrideLogicalContentWidth() + borderAndPaddingLogicalWidth(); |
return; |
} |