mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-15 04:39:31 +00:00
[#ifdef MATHML]. Hook for the ms tag
This commit is contained in:
parent
0b3223675b
commit
838e028417
@ -5269,6 +5269,8 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsIPresShell* aPresShell,
|
||||
rv = NS_NewMathMLmpaddedFrame(aPresShell, &newFrame);
|
||||
else if (aTag == nsMathMLAtoms::mspace_)
|
||||
rv = NS_NewMathMLmspaceFrame(aPresShell, &newFrame);
|
||||
else if (aTag == nsMathMLAtoms::ms_)
|
||||
rv = NS_NewMathMLmsFrame(aPresShell, &newFrame);
|
||||
else if (aTag == nsMathMLAtoms::mfenced_)
|
||||
rv = NS_NewMathMLmfencedFrame(aPresShell, &newFrame);
|
||||
else if (aTag == nsMathMLAtoms::mmultiscripts_)
|
||||
@ -5282,7 +5284,6 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsIPresShell* aPresShell,
|
||||
else if (aTag == nsMathMLAtoms::mrow_ ||
|
||||
aTag == nsMathMLAtoms::mtext_ ||
|
||||
aTag == nsMathMLAtoms::merror_ ||
|
||||
aTag == nsMathMLAtoms::ms_ ||
|
||||
aTag == nsMathMLAtoms::none_ ||
|
||||
aTag == nsMathMLAtoms::mprescripts_ )
|
||||
rv = NS_NewMathMLmrowFrame(aPresShell, &newFrame);
|
||||
|
@ -5269,6 +5269,8 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsIPresShell* aPresShell,
|
||||
rv = NS_NewMathMLmpaddedFrame(aPresShell, &newFrame);
|
||||
else if (aTag == nsMathMLAtoms::mspace_)
|
||||
rv = NS_NewMathMLmspaceFrame(aPresShell, &newFrame);
|
||||
else if (aTag == nsMathMLAtoms::ms_)
|
||||
rv = NS_NewMathMLmsFrame(aPresShell, &newFrame);
|
||||
else if (aTag == nsMathMLAtoms::mfenced_)
|
||||
rv = NS_NewMathMLmfencedFrame(aPresShell, &newFrame);
|
||||
else if (aTag == nsMathMLAtoms::mmultiscripts_)
|
||||
@ -5282,7 +5284,6 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsIPresShell* aPresShell,
|
||||
else if (aTag == nsMathMLAtoms::mrow_ ||
|
||||
aTag == nsMathMLAtoms::mtext_ ||
|
||||
aTag == nsMathMLAtoms::merror_ ||
|
||||
aTag == nsMathMLAtoms::ms_ ||
|
||||
aTag == nsMathMLAtoms::none_ ||
|
||||
aTag == nsMathMLAtoms::mprescripts_ )
|
||||
rv = NS_NewMathMLmrowFrame(aPresShell, &newFrame);
|
||||
|
Loading…
x
Reference in New Issue
Block a user