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

@@ -206,7 +206,7 @@ nsAbsoluteContainingBlock::Reflow(nsIFrame* aDelegatingFrame,
// If the frame has visible overflow, then take it into account, too.
if (kidFrame->GetStateBits() & NS_FRAME_OUTSIDE_CHILDREN) {
// Get the property
nsRect* overflowArea = kidFrame->GetOverflowAreaProperty();
nsRect* overflowArea = kidFrame->GetOverflowAreaProperty(aPresContext);
if (overflowArea) {
// The overflow area is in the child's coordinate space, so translate
@@ -237,7 +237,7 @@ nsAbsoluteContainingBlock::CalculateChildBounds(nsIPresContext* aPresContext,
// If the frame has visible overflow, then take it into account, too.
if (f->GetStateBits() & NS_FRAME_OUTSIDE_CHILDREN) {
// Get the property
nsRect* overflowArea = f->GetOverflowAreaProperty();
nsRect* overflowArea = f->GetOverflowAreaProperty(aPresContext);
if (overflowArea) {
// The overflow area is in the child's coordinate space, so translate
@@ -489,7 +489,7 @@ nsAbsoluteContainingBlock::ReflowAbsoluteFrame(nsIFrame* aDelegat
// the frame
if (aKidFrame->GetStateBits() & NS_FRAME_OUTSIDE_CHILDREN) {
// Get the property (creating a rect struct if necessary)
nsRect* overflowArea = aKidFrame->GetOverflowAreaProperty(PR_TRUE);
nsRect* overflowArea = aKidFrame->GetOverflowAreaProperty(aPresContext, PR_TRUE);
NS_ASSERTION(overflowArea, "should have created rect");
if (overflowArea) {