From f3caea19b91fc32fce88d5e857515f11d5aed7f9 Mon Sep 17 00:00:00 2001 From: "rbs%maths.uq.edu.au" Date: Fri, 7 Jan 2000 14:54:53 +0000 Subject: [PATCH] [MATHML] Addition of a comment and two atoms: subscriptshift, superscriptshift --- layout/mathml/content/src/nsMathMLAtomList.h | 4 +++- layout/mathml/content/src/nsMathMLOperators.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/layout/mathml/content/src/nsMathMLAtomList.h b/layout/mathml/content/src/nsMathMLAtomList.h index c250984733f1..8641ce2607bd 100644 --- a/layout/mathml/content/src/nsMathMLAtomList.h +++ b/layout/mathml/content/src/nsMathMLAtomList.h @@ -96,7 +96,7 @@ MATHML_ATOM(lt_, "lt") MATHML_ATOM(maction_, "maction") MATHML_ATOM(maligngroup_, "maligngroup") MATHML_ATOM(malignmark_, "malignmark") -MATHML_ATOM(math, "math") // only one without an underscore +MATHML_ATOM(math, "math") // the only one without an underscore MATHML_ATOM(matrix_, "matrix") MATHML_ATOM(matrixrow_, "matrixrow") MATHML_ATOM(max_, "max") @@ -164,6 +164,8 @@ MATHML_ATOM(setdiff_, "setdiff") MATHML_ATOM(sin_, "sin") MATHML_ATOM(sinh_, "sinh") MATHML_ATOM(stretchy_, "stretchy") +MATHML_ATOM(subscriptshift_, "subscriptshift") +MATHML_ATOM(superscriptshift_, "superscriptshift") MATHML_ATOM(subset_, "subset") MATHML_ATOM(sum_, "sum") MATHML_ATOM(symmetric_, "symmetric") diff --git a/layout/mathml/content/src/nsMathMLOperators.h b/layout/mathml/content/src/nsMathMLOperators.h index 859a405b5d17..563a09534d0a 100644 --- a/layout/mathml/content/src/nsMathMLOperators.h +++ b/layout/mathml/content/src/nsMathMLOperators.h @@ -35,6 +35,7 @@ typedef PRUint32 nsOperatorFlags; #define NS_MATHML_OPERATOR_EMBELLISH_ANCESTOR 0x40000000 // the second bit // define the bits used in the operator dictionary +// XXX replace with the PR_BIT(n) macro #define NS_MATHML_OPERATOR_FORM 0x3 // the very last two bits tell us the form #define NS_MATHML_OPERATOR_FORM_INFIX 1