зеркало из https://github.com/mozilla/pjs.git
use a pseudoframe as a parent only when it has children, bug 336291 r/sr=bzbarsky
This commit is contained in:
Родитель
f20e319b37
Коммит
00f6fe6ef1
|
@ -2621,9 +2621,9 @@ ProcessPseudoRowGroupFrame(nsPseudoFrameData& aPseudoData,
|
||||||
nsresult rv = NS_OK;
|
nsresult rv = NS_OK;
|
||||||
|
|
||||||
aParent = aPseudoData.mFrame;
|
aParent = aPseudoData.mFrame;
|
||||||
nsTableRowGroupFrame* rgFrame = nsTableFrame::GetRowGroupFrame(aParent);
|
|
||||||
nsFrameItems* items = &aPseudoData.mChildList;
|
nsFrameItems* items = &aPseudoData.mChildList;
|
||||||
if (items && items->childList) {
|
if (items && items->childList) {
|
||||||
|
nsTableRowGroupFrame* rgFrame = nsTableFrame::GetRowGroupFrame(aParent);
|
||||||
rv = rgFrame->SetInitialChildList(nsnull, items->childList);
|
rv = rgFrame->SetInitialChildList(nsnull, items->childList);
|
||||||
if (NS_FAILED(rv)) return rv;
|
if (NS_FAILED(rv)) return rv;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче