зеркало из https://github.com/mozilla/gecko-dev.git
[#ifdef MATHML]. Hook for the ms tag
This commit is contained in:
Родитель
0b3223675b
Коммит
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче