| Index: third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| index 5277c70df08b6b99419fb3e7eac9adb45e4206d4..5e8c2189902f9de46259c5ca3ab902728e1d423c 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| @@ -718,7 +718,7 @@ static LayoutUnit computeMargin(const LayoutInline* layoutObject, const Length&
|
| {
|
| if (margin.isFixed())
|
| return LayoutUnit(margin.value());
|
| - if (margin.hasPercent())
|
| + if (margin.isPercentOrCalc())
|
| return minimumValueForLength(margin, std::max(LayoutUnit(), layoutObject->containingBlock()->availableLogicalWidth()));
|
| return LayoutUnit();
|
| }
|
|
|