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
Родитель a00b3b52d4
Коммит 97457e62bb
2 изменённых файлов: 2 добавлений и 8 удалений

Просмотреть файл

@ -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);

Просмотреть файл

@ -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);