Backing-out previous change which had the effect of getting rid of the widgets for *all* fixed positioned elements. Removing widgets is a goal at term but it's something that we want to leave to the View Manager folk(s) or at least do in sync with them.

This commit is contained in:
pierre@netscape.com
1999-12-01 05:10:50 +00:00
parent 3ce20d486a
commit c45484ddce
2 changed files with 2 additions and 8 deletions

View File

@@ -468,10 +468,7 @@ nsHTMLContainerFrame::CreateViewForFrame(nsIPresContext* aPresContext,
aStyleContext->GetStyleData(eStyleStruct_Position);
if (NS_STYLE_POSITION_FIXED == position->mPosition) {
nsRect rect;
view->GetBounds(rect);
if (! rect.IsEmpty())
view->CreateWidget(kCChildCID);
view->CreateWidget(kCChildCID);
}
viewManager->SetViewOpacity(view, color->mOpacity);