From 64e4ded56dce9f0966e10ff592bad9cf75a3e0dd Mon Sep 17 00:00:00 2001 From: "rbs%maths.uq.edu.au" Date: Sun, 21 Nov 1999 22:01:56 +0000 Subject: [PATCH] Add hook for the mroot tag in the confined MathML world --- layout/base/nsCSSFrameConstructor.cpp | 2 ++ layout/html/style/src/nsCSSFrameConstructor.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index 00481e95fe17..01ce8fe66592 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -4903,6 +4903,8 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsIPresContext* aPresContex rv = NS_NewMathMLmstyleFrame(&newFrame); else if (aTag == nsMathMLAtoms::msqrt) rv = NS_NewMathMLmsqrtFrame(&newFrame); + else if (aTag == nsMathMLAtoms::mroot) + rv = NS_NewMathMLmrootFrame(&newFrame); else if (aTag == nsMathMLAtoms::mrow || aTag == nsMathMLAtoms::mtext || aTag == nsMathMLAtoms::merror || diff --git a/layout/html/style/src/nsCSSFrameConstructor.cpp b/layout/html/style/src/nsCSSFrameConstructor.cpp index 00481e95fe17..01ce8fe66592 100644 --- a/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -4903,6 +4903,8 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsIPresContext* aPresContex rv = NS_NewMathMLmstyleFrame(&newFrame); else if (aTag == nsMathMLAtoms::msqrt) rv = NS_NewMathMLmsqrtFrame(&newFrame); + else if (aTag == nsMathMLAtoms::mroot) + rv = NS_NewMathMLmrootFrame(&newFrame); else if (aTag == nsMathMLAtoms::mrow || aTag == nsMathMLAtoms::mtext || aTag == nsMathMLAtoms::merror ||