mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
Get the right style context for the blockframe containing an mtable. Bug
384649, r+sr=dbaron
This commit is contained in:
parent
bba4b1c1b5
commit
f3dde487e1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user