| Index: Source/core/layout/LayoutBox.cpp
|
| diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp
|
| index 052e2f01f00296eda3883006fe978dde97fbb6cd..402c8d1aceffca1a703b9172f5f2356f746ffd92 100644
|
| --- a/Source/core/layout/LayoutBox.cpp
|
| +++ b/Source/core/layout/LayoutBox.cpp
|
| @@ -4508,6 +4508,13 @@ LayoutPoint LayoutBox::topLeftLocation() const
|
| return containerBlock->flipForWritingModeForChild(this, location());
|
| }
|
|
|
| +bool LayoutBox::hasRelativeLogicalWidth() const
|
| +{
|
| + return style()->logicalWidth().isPercent()
|
| + || style()->logicalMinWidth().isPercent()
|
| + || style()->logicalMaxWidth().isPercent();
|
| +}
|
| +
|
| bool LayoutBox::hasRelativeLogicalHeight() const
|
| {
|
| return style()->logicalHeight().isPercent()
|
|
|