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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableCell.cpp

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/LayoutTableCell.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
index d13f7b18d23b392f75bfe45936a8d83802059437..fc9e0a84ad941d3ade4be420fcfe748dd21eb4cf 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
@@ -395,7 +395,8 @@ void LayoutTableCell::setOverrideLogicalContentHeightFromRowHeight(
.clampNegativeToZero());
}
-LayoutSize LayoutTableCell::offsetFromContainer(const LayoutObject* o) const {
+LayoutSize LayoutTableCell::offsetFromContainer(const LayoutObject* o,
+ bool ignoreSticky) const {
ASSERT(o == container());
LayoutSize offset = LayoutBlockFlow::offsetFromContainer(o);

Powered by Google App Engine
This is Rietveld 408576698