Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2647533002: Force compositing inputs to be clean for getBoundingClientRect (Closed)
Patch Set: Add LayoutTests to validate post-layout behavior Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index b1d8247167de927328c63ad63f1763a4f38fb5f0..db7d55803f0f1a049abc8add2f2d9464e7fdec5d 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -931,6 +931,11 @@ class CORE_EXPORT Element : public ContainerNode {
void detachAttrNodeFromElementWithValue(Attr*, const AtomicString& value);
void detachAttrNodeAtIndex(Attr*, size_t index);
+ // Helper method which ensures that compositing inputs have been cleaned.
+ // Cleaning the compositing inputs is required when computing the location of
+ // position:sticky elements or their descendants.
+ void ensureCompositingInputsClean();
+
v8::Local<v8::Object> wrapCustomElement(
v8::Isolate*,
v8::Local<v8::Object> creationContext);

Powered by Google App Engine
This is Rietveld 408576698