| Index: Source/core/rendering/RenderBlock.cpp
|
| diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
|
| index addd983b148134734424a7ec70f1afce908e1af5..fcd6a112c52f23a6c722f503ed0c2e68f89104ce 100644
|
| --- a/Source/core/rendering/RenderBlock.cpp
|
| +++ b/Source/core/rendering/RenderBlock.cpp
|
| @@ -1546,12 +1546,8 @@ void RenderBlock::addOverflowFromPositionedObjects()
|
| positionedObject = *it;
|
|
|
| // Fixed positioned elements don't contribute to layout overflow, since they don't scroll with the content.
|
| - if (positionedObject->style()->position() != FixedPosition) {
|
| - LayoutUnit x = positionedObject->x();
|
| - if (style()->shouldPlaceBlockDirectionScrollbarOnLogicalLeft())
|
| - x -= verticalScrollbarWidth();
|
| - addOverflowFromChild(positionedObject, LayoutSize(x, positionedObject->y()));
|
| - }
|
| + if (positionedObject->style()->position() != FixedPosition)
|
| + addOverflowFromChild(positionedObject, LayoutSize(positionedObject->x(), positionedObject->y()));
|
| }
|
| }
|
|
|
|
|