Bug 1590281 - Don't propagate overscroll-behavior from body to viewport. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50024
This commit is contained in:
@@ -9006,10 +9006,8 @@ ScrollMetadata nsLayoutUtils::ComputeScrollMetadata(
|
||||
}
|
||||
|
||||
metadata.SetSnapInfo(scrollableFrame->GetScrollSnapInfo());
|
||||
|
||||
ScrollStyles scrollStyles = scrollableFrame->GetScrollStyles();
|
||||
metadata.SetOverscrollBehavior(OverscrollBehaviorInfo::FromStyleConstants(
|
||||
scrollStyles.mOverscrollBehaviorX, scrollStyles.mOverscrollBehaviorY));
|
||||
metadata.SetOverscrollBehavior(
|
||||
scrollableFrame->GetOverscrollBehaviorInfo());
|
||||
}
|
||||
|
||||
// If we have the scrollparent being the same as the scroll id, the
|
||||
|
||||
Reference in New Issue
Block a user