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

Unified Diff: third_party/WebKit/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: Merge and attempt to fix base URL Created 5 years, 2 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 945a4f5f8dfaef00c62fcaddd1ae4f23310729c8..5398979f8bdd995683ed6e269c53f9b3c89b8ff4 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.h
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.h
@@ -245,6 +245,8 @@ private:
PositionWithAffinity positionForPoint(const LayoutPoint&) final;
+ LayoutRect frameRectForStickyPositioning() const override final { return LayoutRect(linesBoundingBox()); }
chrishtr 2015/11/04 01:55:18 Rather than adding a new virtual API method to han
flackr 2015/11/25 20:47:53 Done.
+
IntRect borderBoundingBox() const final
{
IntRect boundingBox = linesBoundingBox();

Powered by Google App Engine
This is Rietveld 408576698