<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_0_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 c0c715c1ee
commit 7da4017365

View File

@@ -1808,7 +1808,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);
}