Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes

git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
aaronleventhal%moonset.net
2004-07-15 18:57:47 +00:00
parent 625e62f911
commit aac51e9f0b
44 changed files with 313 additions and 270 deletions

View File

@@ -176,15 +176,6 @@ printf("\n");
aDesiredSize.mMaxElementWidth = childDesiredSize.mMaxElementWidth;
}
FinishAndStoreOverflow(&aDesiredSize);
// Act as if there is overflow no matter what. This is a
// safety measure to cater for math fonts with metrics that sometimes
// cause glyphs in the text frames to protrude outside. Without this,
// such glyphs may be clipped at the painting stage
// This flag has already been set on the children as well in
// SetInitialChildList()
mState |= NS_FRAME_OUTSIDE_CHILDREN;
// cache the frame's mBoundingMetrics
mBoundingMetrics = aDesiredSize.mBoundingMetrics;