| Index: Source/core/rendering/RenderLayer.cpp
|
| diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
|
| index 36d71e129a33e5656080356000b409fdd9df72f6..c56125a15a178687d2ac0e647d4773554b8e1124 100644
|
| --- a/Source/core/rendering/RenderLayer.cpp
|
| +++ b/Source/core/rendering/RenderLayer.cpp
|
| @@ -1882,8 +1882,10 @@ static inline const RenderLayer* accumulateOffsetTowardsAncestor(const RenderLay
|
| ancestorLayer->convertToLayerCoords(fixedPositionContainerLayer, ancestorCoords);
|
|
|
| location += (fixedContainerCoords - ancestorCoords);
|
| - return ancestorLayer;
|
| + } else {
|
| + location += toSize(layer->location());
|
| }
|
| + return ancestorLayer;
|
| }
|
|
|
| RenderLayer* parentLayer;
|
|
|