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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutInline.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/LayoutInline.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.h b/third_party/WebKit/Source/core/layout/LayoutInline.h
index 636eee311c77f29080de85b9f0e70087509d739e..130ace981064da8abfe7468c0c425575b9c0ce5b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.h
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.h
@@ -150,7 +150,8 @@ class CORE_EXPORT LayoutInline : public LayoutBoxModelObject {
const LayoutPoint& accumulatedOffset) const final;
FloatRect localBoundingBoxRectForAccessibility() const final;
- LayoutSize offsetFromContainer(const LayoutObject*) const final;
+ LayoutSize offsetFromContainer(const LayoutObject*,
+ bool ignoreSticky = false) const final;
LayoutRect linesBoundingBox() const;
LayoutRect visualOverflowRect() const final;

Powered by Google App Engine
This is Rietveld 408576698