commit c404a57435c20fd23f405eaab2e14dfb8c7b6a85
parent 7d9930ff3e7d8fde93810d9870727f1be0f863b4
Author: Hiroyuki Ikezoe <hikezoe.birchill@mozilla.com>
Date: Wed, 10 Dec 2025 00:30:20 +0000
Bug 2004621 - Amend the comment for ScrollContainerFrame::GetFrameForStyle. r=jwatt
GetScrollStylesFromFrame was superseded by GetScrollStyles in
https://hg-edge.mozilla.org/mozilla-central/rev/0b07b4673205 in bug
1823455.
And overscroll-behavior has no longer been propaged to the viewport
since bug 1590281.
Differential Revision: https://phabricator.services.mozilla.com/D275407
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/layout/generic/ScrollContainerFrame.h b/layout/generic/ScrollContainerFrame.h
@@ -1295,8 +1295,7 @@ class ScrollContainerFrame : public nsContainerFrame,
// We need this if a scrollbar frame is recreated.
void ReloadChildFrames();
- // NOTE: Use GetScrollStylesFromFrame() if you want to know `overflow`
- // and `overflow-behavior` properties.
+ // NOTE: Use GetScrollStyles() if you want `overflow` property info.
nsIFrame* GetFrameForStyle() const;
// Compute all scroll snap related information and store eash snap target