Backed out changeset 90dbec9f0f4c (bug 1955158) for causing failures at compile-event-handler-settings-objects.html. CLOSED TREE
This commit is contained in:
@@ -3838,9 +3838,6 @@ void PresShell::ScrollFrameIntoVisualViewport(Maybe<nsPoint>& aDestination,
|
||||
// the root scroll container in the frame tree walking up loop in
|
||||
// ScrollFrameIntoView, it means the target element is inside a
|
||||
// position:fixed subtree.
|
||||
if (!StaticPrefs::layout_scroll_fixed_content_into_view_visually()) {
|
||||
return;
|
||||
}
|
||||
|
||||
const nsSize visualViewportSize =
|
||||
rootScrollContainer->GetVisualViewportSize();
|
||||
|
||||
Reference in New Issue
Block a user