| 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 dd6a22bdd6c9d4ee55543229f423edab9d1a2331..fb3c6cb78c8784e627960e94620930bb96a59171 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4170,6 +4170,8 @@ void LayoutBox::computeBlockStaticDistance(
|
| continue;
|
| const LayoutBox& box = *toLayoutBox(curr);
|
| staticLogicalTop += box.logicalTop();
|
| + if (box.isInFlowPositioned())
|
| + staticLogicalTop += box.offsetForInFlowPosition().height();
|
| if (!box.isLayoutFlowThread())
|
| continue;
|
| // We're walking out of a flowthread here. This flow thread is not in the
|
|
|