| Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| index f8e8de265031cc21754eb130ff8edd70a01bfab1..eeb94375ffe77146fda9868fc217ee7cb16850ec 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| @@ -987,13 +987,13 @@ LayoutPoint LayoutBoxModelObject::adjustedPositionRelativeTo(
|
| // FIXME: What are we supposed to do inside SVG content?
|
| referencePoint.move(current->columnOffset(referencePoint));
|
| if (current->isBox() && !current->isTableRow())
|
| - referencePoint.moveBy(toLayoutBox(current)->topLeftLocation());
|
| + referencePoint.moveBy(toLayoutBox(current)->physicalLocation());
|
| }
|
|
|
| if (offsetParentObject->isBox() && offsetParentObject->isBody() &&
|
| !offsetParentObject->isPositioned()) {
|
| referencePoint.moveBy(
|
| - toLayoutBox(offsetParentObject)->topLeftLocation());
|
| + toLayoutBox(offsetParentObject)->physicalLocation());
|
| }
|
| }
|
|
|
|
|