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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.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/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index 6245df237f467b09253150d7f41cdc040858f773..738104369e9677de864dcf80795387231e4755f7 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -707,7 +707,8 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject {
void setExtraBlockOffset(LayoutUnit blockOffest);
void clearExtraInlineAndBlockOffests();
- LayoutSize offsetFromContainer(const LayoutObject*) const override;
+ LayoutSize offsetFromContainer(const LayoutObject*,
+ bool ignoreSticky = false) const override;
LayoutUnit adjustBorderBoxLogicalWidthForBoxSizing(float width) const;
LayoutUnit adjustBorderBoxLogicalHeightForBoxSizing(float height) const;

Powered by Google App Engine
This is Rietveld 408576698