зеркало из https://github.com/mozilla/gecko-dev.git
bug 34538 - allow more types of non table content inside table content get frames.
This commit is contained in:
Родитель
d9597d7e35
Коммит
4d98b01382
|
@ -2534,7 +2534,8 @@ nsCSSFrameConstructor::ConstructTableRowGroupFrame(nsIPresShell* aPre
|
|||
aNewFrame->SetInitialChildList(aPresContext, nsnull, childItems.childList);
|
||||
}
|
||||
if (aIsPseudoParent) {
|
||||
aState.mPseudoFrames.mTableInner.mChildList.AddChild(aNewFrame);
|
||||
nsIFrame* child = (scrollFrame) ? scrollFrame : aNewFrame;
|
||||
aState.mPseudoFrames.mTableInner.mChildList.AddChild(child);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2823,7 +2824,7 @@ nsCSSFrameConstructor::MustGeneratePseudoParent(nsIPresContext* aPresContext,
|
|||
}
|
||||
#endif
|
||||
|
||||
return PR_FALSE;
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
// this is called when a non table related element is a child of a table, row group,
|
||||
|
|
|
@ -2534,7 +2534,8 @@ nsCSSFrameConstructor::ConstructTableRowGroupFrame(nsIPresShell* aPre
|
|||
aNewFrame->SetInitialChildList(aPresContext, nsnull, childItems.childList);
|
||||
}
|
||||
if (aIsPseudoParent) {
|
||||
aState.mPseudoFrames.mTableInner.mChildList.AddChild(aNewFrame);
|
||||
nsIFrame* child = (scrollFrame) ? scrollFrame : aNewFrame;
|
||||
aState.mPseudoFrames.mTableInner.mChildList.AddChild(child);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2823,7 +2824,7 @@ nsCSSFrameConstructor::MustGeneratePseudoParent(nsIPresContext* aPresContext,
|
|||
}
|
||||
#endif
|
||||
|
||||
return PR_FALSE;
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
// this is called when a non table related element is a child of a table, row group,
|
||||
|
|
Загрузка…
Ссылка в новой задаче