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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h

Issue 2636253002: Handle nested position:sticky elements (Closed)
Patch Set: Ignore position:sticky offsets when computing localToAncestorQuad offsets 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/layout/LayoutBoxModelObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h
index 63a9dd02724a77c54a4d83de5ae290906e19c66e..bf1637c40c1540e654a79f52979fb547e953d6ab 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h
@@ -155,7 +155,7 @@ class CORE_EXPORT LayoutBoxModelObject : public LayoutObject {
void updateStickyPositionConstraints() const;
LayoutSize stickyPositionOffset() const;
- LayoutSize offsetForInFlowPosition() const;
+ LayoutSize offsetForInFlowPosition(bool ignoreSticky = false) const;
// IE extensions. Used to calculate offsetWidth/Height. Overridden by inlines
// (LayoutInline) to return the remaining width on a given line (and the

Powered by Google App Engine
This is Rietveld 408576698