summaryrefslogtreecommitdiff
path: root/layout/base/nsIPresShell.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-09-30 12:24:19 +0000
committerMoonchild <moonchild@palemoon.org>2022-09-30 12:24:19 +0000
commitbdc924d25ee6d0bbe6c780c1d88b60db573562e7 (patch)
tree426c983ca8bb4dd32d4f8db93625a9a07e11367d /layout/base/nsIPresShell.h
parentb83dd4e5e8b95f61fa2c25b1635793f919e4f101 (diff)
downloaduxp-bdc924d25ee6d0bbe6c780c1d88b60db573562e7.tar.gz
WIP: basic scroll-anchoring attempt.scroll-anchoring-wip
This is incomplete and won't build due to prerequisites.
Diffstat (limited to 'layout/base/nsIPresShell.h')
-rw-r--r--layout/base/nsIPresShell.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/layout/base/nsIPresShell.h b/layout/base/nsIPresShell.h
index cf19867ef0..d368402e4f 100644
--- a/layout/base/nsIPresShell.h
+++ b/layout/base/nsIPresShell.h
@@ -486,6 +486,12 @@ public:
virtual nsCanvasFrame* GetCanvasFrame() const = 0;
/**
+ * Returns whether the scollable frame need to have a position adjustment
+ * based on scroll-anchoring.
+ */
+ virtual void ScrollableFrameNeedsAnchorAdjustment(nsIScrollableFrame* aFrame) = 0;
+
+ /**
* Tell the pres shell that a frame needs to be marked dirty and needs
* Reflow. It's OK if this is an ancestor of the frame needing reflow as
* long as the ancestor chain between them doesn't cross a reflow root.