Chromium Code Reviews| 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 cb416dca18088a6b66608b98352cce926530b206..3f459c14262251ba6a689d83f6d68748b2e3007c 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
| @@ -771,7 +771,7 @@ LayoutPoint LayoutBoxModelObject::adjustedPositionRelativeToOffsetParent(const L |
| // If the offsetParent of the element is null, or is the HTML body element, |
| // return the distance between the canvas origin and the left border edge |
| // of the element and stop this algorithm. |
|
eae
2016/06/09 13:19:42
Please update this comment to explain what an offs
kochi
2016/06/09 16:04:27
I'm not sure "or is the HTML body element" part, a
|
| - Element* element = offsetParent(); |
| + Element* element = offsetParentForBinding(); |
| if (!element) |
| return referencePoint; |