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

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: Move compositor plumbing into a separate review. 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: 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 0dbdd3e2593c80528ff025dc87d668af9ec314a6..9441d2dc6bb2e116d879fea9acb3da424c90b1d2 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.h
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.h
@@ -192,6 +192,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