bug 55789 - the col group frame increments its num cols before inserting the col into the table. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@80953 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -119,8 +119,8 @@ nsTableColGroupFrame::AddColsToTable(nsIPresContext& aPresContext,
|
||||
if (nsLayoutAtoms::tableColFrame == kidType) {
|
||||
((nsTableColFrame*)kidFrame)->SetColIndex(colIndex);
|
||||
if (!foundLastFrame) {
|
||||
tableFrame->InsertCol(aPresContext, (nsTableColFrame &)*kidFrame, colIndex);
|
||||
mColCount++;
|
||||
tableFrame->InsertCol(aPresContext, (nsTableColFrame &)*kidFrame, colIndex);
|
||||
}
|
||||
colIndex++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user