Backed out changeset 90dbec9f0f4c (bug 1955158) for causing failures at compile-event-handler-settings-objects.html. CLOSED TREE

This commit is contained in:
Butkovits Atila
2025-03-21 13:11:22 +02:00
parent bb398a1499
commit 5eef486c85
5 changed files with 3 additions and 98 deletions

View File

@@ -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();