Don't set up counters for the anon cols set up by a <col span="n">. Bug 385866, r+sr+a=dbaron

This commit is contained in:
bzbarsky@mit.edu 2007-08-02 14:23:25 -07:00
parent 21fd3a72bb
commit 2b334a8c3b

View File

@ -3903,7 +3903,7 @@ nsCSSFrameConstructor::ConstructTableColFrame(nsFrameConstructorState& aState,
if (NS_UNLIKELY(!newCol)) {
return NS_ERROR_OUT_OF_MEMORY;
}
InitAndRestoreFrame(aState, aContent, parentFrame, nsnull, newCol);
InitAndRestoreFrame(aState, aContent, parentFrame, nsnull, newCol, PR_FALSE);
((nsTableColFrame*)newCol)->SetColType(eColAnonymousCol);
lastCol->SetNextSibling(newCol);
lastCol = newCol;