<mathml:mtd> with border-collapse <html:table> crashes [@ nsRuleNode::GetStyleData] [@ nsCachedStyleData::GetStyleData], b=354766, r=bernd, sr=bzbarsky, a=mconnor

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@216110 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rbs%maths.uq.edu.au
2006-11-29 21:59:58 +00:00
parent 58091169e1
commit c5179fb49c

View File

@@ -1811,7 +1811,9 @@ nsresult
nsMathMLmtableCreator::CreateTableCellFrame(nsIFrame* aParentFrame,
nsIFrame** aNewFrame)
{
NS_ASSERTION(!IsBorderCollapse(aParentFrame), "not implemented");
if (IsBorderCollapse(aParentFrame))
return NS_NewTableCellFrame(mPresShell, PR_TRUE, aNewFrame);
return NS_NewMathMLmtdFrame(mPresShell, aNewFrame);
}