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

Unified Diff: third_party/WebKit/Source/core/layout/MapCoordinatesFlags.h

Issue 2708883005: Handle nested position:sticky elements correctly (main thread) (Closed)
Patch Set: Rebase Created 3 years, 10 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/MapCoordinatesFlags.h
diff --git a/third_party/WebKit/Source/core/layout/MapCoordinatesFlags.h b/third_party/WebKit/Source/core/layout/MapCoordinatesFlags.h
index 23b2425d8cc2574beff1ebb207e98a3e15708747..80369349e36b3414d0c936f6c72645f4ccb44204 100644
--- a/third_party/WebKit/Source/core/layout/MapCoordinatesFlags.h
+++ b/third_party/WebKit/Source/core/layout/MapCoordinatesFlags.h
@@ -25,6 +25,10 @@ enum MapCoordinatesMode {
// disables view clipping and scroll offset adjustment.
// TODO(wangxianzhu): Remove this when root-layer-scrolls launches.
InputIsInFrameCoordinates = 1 << 4,
+
+ // Ignore offset adjustments caused by position:sticky calculations when
+ // walking the chain.
+ IgnoreStickyOffset = 1 << 5,
};
typedef unsigned MapCoordinatesFlags;

Powered by Google App Engine
This is Rietveld 408576698