From 0f390929ca91a945293a697c092df38bd3ca5d9e Mon Sep 17 00:00:00 2001 From: "rbs%maths.uq.edu.au" Date: Thu, 27 Jan 2000 12:28:41 +0000 Subject: [PATCH] [#ifdef MATHML]. Hook for the mspace tag git-svn-id: svn://10.0.0.236/trunk@58933 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsCSSFrameConstructor.cpp | 2 ++ mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index 5f31671ea29..f885449fdeb 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -5274,6 +5274,8 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsIPresShell* aPresShell, rv = NS_NewMathMLmphantomFrame(aPresShell, &newFrame); else if (aTag == nsMathMLAtoms::mpadded_) rv = NS_NewMathMLmpaddedFrame(aPresShell, &newFrame); + else if (aTag == nsMathMLAtoms::mspace_) + rv = NS_NewMathMLmspaceFrame(aPresShell, &newFrame); else if (aTag == nsMathMLAtoms::mfenced_) rv = NS_NewMathMLmfencedFrame(aPresShell, &newFrame); else if (aTag == nsMathMLAtoms::mmultiscripts_) diff --git a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp index 5f31671ea29..f885449fdeb 100644 --- a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -5274,6 +5274,8 @@ nsCSSFrameConstructor::ConstructMathMLFrame(nsIPresShell* aPresShell, rv = NS_NewMathMLmphantomFrame(aPresShell, &newFrame); else if (aTag == nsMathMLAtoms::mpadded_) rv = NS_NewMathMLmpaddedFrame(aPresShell, &newFrame); + else if (aTag == nsMathMLAtoms::mspace_) + rv = NS_NewMathMLmspaceFrame(aPresShell, &newFrame); else if (aTag == nsMathMLAtoms::mfenced_) rv = NS_NewMathMLmfencedFrame(aPresShell, &newFrame); else if (aTag == nsMathMLAtoms::mmultiscripts_)