Get the right style context for the blockframe containing an mtable. Bug

384649, r+sr=dbaron
This commit is contained in:
bzbarsky@mit.edu 2007-08-02 11:30:43 -07:00
parent bba4b1c1b5
commit f3dde487e1

View File

@ -6823,8 +6823,8 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsFrameConstructorState& aState,
InitAndRestoreFrame(aState, aContent, newFrame, nsnull, blockFrame);
// then, create the table frame itself
nsRefPtr<nsStyleContext> tableContext;
tableContext = styleSet->ResolveStyleFor(aContent, blockContext);
nsRefPtr<nsStyleContext> tableContext =
ResolveStyleContext(blockFrame, aContent);
nsFrameItems tempItems;
nsIFrame* outerTable;