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

Unified Diff: Source/core/layout/LayoutInline.h

Issue 1308273010: Adapt and reland old position sticky implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix style errors and remaining layout tests. Created 5 years, 3 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: Source/core/layout/LayoutInline.h
diff --git a/Source/core/layout/LayoutInline.h b/Source/core/layout/LayoutInline.h
index cdee488d95d2f3d220047887204236ce7d7d168e..81492e40ba18a1851b358605d6282159d6c71f19 100644
--- a/Source/core/layout/LayoutInline.h
+++ b/Source/core/layout/LayoutInline.h
@@ -166,6 +166,8 @@ private:
PositionWithAffinity positionForPoint(const LayoutPoint&) final;
+ LayoutRect frameRectForStickyPositioning() const override final { return LayoutRect(linesBoundingBox()); }
+
IntRect borderBoundingBox() const final
{
IntRect boundingBox = linesBoundingBox();

Powered by Google App Engine
This is Rietveld 408576698