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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user