Bug 1888737 - Disable overflow/underflow events in early beta r=smaug,emilio
Differential Revision: https://phabricator.services.mozilla.com/D206175
This commit is contained in:
@@ -5982,6 +5982,11 @@ void ScrollContainerFrame::PostOverflowEvent() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!nsContentUtils::IsChromeDoc(PresContext()->Document()) &&
|
||||
!StaticPrefs::layout_overflow_underflow_content_enabled()) {
|
||||
return;
|
||||
}
|
||||
|
||||
OverflowState overflowState = GetOverflowState();
|
||||
|
||||
bool newVerticalOverflow = !!(overflowState & OverflowState::Vertical);
|
||||
|
||||
Reference in New Issue
Block a user