Backed out changeset 3033cffb3c50 (bug 1911457) for causing Wr failures on transform-3d-scales-different-x-y-dynamic-002.html. CLOSED TREE

This commit is contained in:
Tamas Szentpeteri
2024-10-23 09:42:33 +03:00
parent dfa1d5ed12
commit e1227b3ba7
3 changed files with 1 additions and 55 deletions

View File

@@ -6361,10 +6361,7 @@ bool ScrollContainerFrame::ComputeCustomOverflow(
bool needReflow = false;
nsPoint scrollPosition = GetScrollPosition();
if (overflowChange.contains(ScrollDirection::eHorizontal)) {
if (ss.mHorizontal != StyleOverflow::Hidden || scrollPosition.x ||
// If we are in minimum-scale size mode, we need to do a reflow to
// re-compute the minimum-scale size.
mIsUsingMinimumScaleSize) {
if (ss.mHorizontal != StyleOverflow::Hidden || scrollPosition.x) {
needReflow = true;
}
}