Index: third_party/WebKit/Source/core/html/HTMLElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.cpp b/third_party/WebKit/Source/core/html/HTMLElement.cpp |
index deaffb100f9afb20f25292e1f32f9b3112c24a82..1ca5128c93c34a823d0bc607e242870d947d6e59 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp |
@@ -1161,6 +1161,7 @@ const AtomicString& HTMLElement::eventParameterName() { |
} |
int HTMLElement::offsetLeftForBinding() { |
+ ensureCompositingInputsClean(); |
Element* offsetParent = unclosedOffsetParent(); |
if (LayoutBoxModelObject* layoutObject = layoutBoxModelObject()) |
return adjustLayoutUnitForAbsoluteZoom( |
@@ -1171,6 +1172,7 @@ int HTMLElement::offsetLeftForBinding() { |
} |
int HTMLElement::offsetTopForBinding() { |
+ ensureCompositingInputsClean(); |
Element* offsetParent = unclosedOffsetParent(); |
if (LayoutBoxModelObject* layoutObject = layoutBoxModelObject()) |
return adjustLayoutUnitForAbsoluteZoom( |