Backed out changeset 7362e63c648e (relanding bug 449422)
This commit is contained in:
@@ -1413,6 +1413,9 @@ nsTableRowGroupFrame::AppendFrames(nsIAtom* aListName,
|
||||
for (nsIFrame* rowFrame = aFrameList; rowFrame;
|
||||
rowFrame = rowFrame->GetNextSibling()) {
|
||||
if (nsGkAtoms::tableRowFrame == rowFrame->GetType()) {
|
||||
NS_ASSERTION(NS_STYLE_DISPLAY_TABLE_ROW ==
|
||||
rowFrame->GetStyleDisplay()->mDisplay,
|
||||
"wrong display type on rowframe");
|
||||
rows.AppendElement(rowFrame);
|
||||
}
|
||||
}
|
||||
@@ -1456,6 +1459,9 @@ nsTableRowGroupFrame::InsertFrames(nsIAtom* aListName,
|
||||
for (nsIFrame* rowFrame = aFrameList; rowFrame;
|
||||
rowFrame = rowFrame->GetNextSibling()) {
|
||||
if (nsGkAtoms::tableRowFrame == rowFrame->GetType()) {
|
||||
NS_ASSERTION(NS_STYLE_DISPLAY_TABLE_ROW ==
|
||||
rowFrame->GetStyleDisplay()->mDisplay,
|
||||
"wrong display type on rowframe");
|
||||
rows.AppendElement(rowFrame);
|
||||
if (!gotFirstRow) {
|
||||
((nsTableRowFrame*)rowFrame)->SetFirstInserted(PR_TRUE);
|
||||
|
||||
Reference in New Issue
Block a user