зеркало из https://github.com/mozilla/gecko-dev.git
Bug 274600. Fix erratic rendering of applets in iframes. r+sr=roc
This commit is contained in:
Родитель
43925359dc
Коммит
72422f2793
|
@ -729,10 +729,6 @@ nsSubDocumentFrame::CreateViewAndWidget(nsContentType aContentType)
|
|||
mInnerView = innerView;
|
||||
viewMan->InsertChild(outerView, innerView, nsnull, PR_TRUE);
|
||||
|
||||
nsWidgetInitData initData;
|
||||
initData.clipChildren = PR_TRUE;
|
||||
initData.clipSiblings = PR_TRUE;
|
||||
|
||||
return innerView->CreateWidget(kCChildCID, nsnull, nsnull, PR_TRUE, PR_TRUE,
|
||||
aContentType);
|
||||
}
|
||||
|
|
|
@ -627,6 +627,7 @@ nsresult nsIView::CreateWidget(const nsIID &aWindowIID,
|
|||
// Create initData to pass in params
|
||||
initDataPassedIn = PR_FALSE;
|
||||
initData.clipChildren = PR_TRUE; // Clip child window's children
|
||||
initData.clipSiblings = PR_TRUE; // Clip child window's siblings
|
||||
aWidgetInitData = &initData;
|
||||
}
|
||||
aWidgetInitData->mContentType = aContentType;
|
||||
|
|
Загрузка…
Ссылка в новой задаче