Bug 482909 part 1 - Add atoms needed for Content MathML support in the sanitizer. r=ehsan.

This commit is contained in:
Henri Sivonen 2011-04-01 09:42:21 +03:00
Родитель d7c9745c48
Коммит bb33ce7fa5
1 изменённых файлов: 109 добавлений и 9 удалений

Просмотреть файл

@ -1382,20 +1382,48 @@ GK_ATOM(accent_, "accent")
GK_ATOM(accentunder_, "accentunder") GK_ATOM(accentunder_, "accentunder")
GK_ATOM(actiontype_, "actiontype") GK_ATOM(actiontype_, "actiontype")
GK_ATOM(alignmentscope_, "alignmentscope") GK_ATOM(alignmentscope_, "alignmentscope")
GK_ATOM(altimg_, "altimg")
GK_ATOM(altimg_height_, "altimg-height")
GK_ATOM(altimg_valign_, "altimg-valign")
GK_ATOM(altimg_width_, "altimg-width")
GK_ATOM(annotation_, "annotation") GK_ATOM(annotation_, "annotation")
GK_ATOM(annotation_xml_, "annotation-xml")
GK_ATOM(apply_, "apply") GK_ATOM(apply_, "apply")
GK_ATOM(approx_, "approx")
GK_ATOM(arccos_, "arccos") GK_ATOM(arccos_, "arccos")
GK_ATOM(arccosh_, "arccosh")
GK_ATOM(arccot_, "arccot")
GK_ATOM(arccoth_, "arccoth")
GK_ATOM(arccsc_, "arccsc")
GK_ATOM(arccsch_, "arccsch")
GK_ATOM(arcsec_, "arcsec")
GK_ATOM(arcsech_, "arcsech")
GK_ATOM(arcsin_, "arcsin") GK_ATOM(arcsin_, "arcsin")
GK_ATOM(arcsinh_, "arcsinh")
GK_ATOM(arctan_, "arctan") GK_ATOM(arctan_, "arctan")
GK_ATOM(arctanh_, "arctanh")
GK_ATOM(arg_, "arg")
GK_ATOM(bevelled_, "bevelled") GK_ATOM(bevelled_, "bevelled")
GK_ATOM(bind_, "bind")
GK_ATOM(bvar_, "bvar") GK_ATOM(bvar_, "bvar")
GK_ATOM(card_, "card")
GK_ATOM(cartesianproduct_, "cartesianproduct")
GK_ATOM(cbytes_, "cbytes")
GK_ATOM(cd_, "cd")
GK_ATOM(cdgroup_, "cdgroup")
GK_ATOM(cerror_, "cerror")
GK_ATOM(charalign_, "charalign")
GK_ATOM(ci_, "ci") GK_ATOM(ci_, "ci")
GK_ATOM(closure_, "closure")
GK_ATOM(cn_, "cn") GK_ATOM(cn_, "cn")
GK_ATOM(codomain_, "codomain")
GK_ATOM(columnalign_, "columnalign") GK_ATOM(columnalign_, "columnalign")
GK_ATOM(columnalignment_, "columnalignment")
GK_ATOM(columnlines_, "columnlines") GK_ATOM(columnlines_, "columnlines")
GK_ATOM(columnspacing_, "columnspacing") GK_ATOM(columnspacing_, "columnspacing")
GK_ATOM(columnspan_, "columnspan") GK_ATOM(columnspan_, "columnspan")
GK_ATOM(columnwidth_, "columnwidth") GK_ATOM(columnwidth_, "columnwidth")
GK_ATOM(complexes_, "complexes")
GK_ATOM(compose_, "compose") GK_ATOM(compose_, "compose")
GK_ATOM(condition_, "condition") GK_ATOM(condition_, "condition")
GK_ATOM(conjugate_, "conjugate") GK_ATOM(conjugate_, "conjugate")
@ -1403,22 +1431,37 @@ GK_ATOM(cos_, "cos")
GK_ATOM(cosh_, "cosh") GK_ATOM(cosh_, "cosh")
GK_ATOM(cot_, "cot") GK_ATOM(cot_, "cot")
GK_ATOM(coth_, "coth") GK_ATOM(coth_, "coth")
GK_ATOM(crossout_, "crossout")
GK_ATOM(csc_, "csc") GK_ATOM(csc_, "csc")
GK_ATOM(csch_, "csch") GK_ATOM(csch_, "csch")
GK_ATOM(cs_, "cs")
GK_ATOM(csymbol_, "csymbol")
GK_ATOM(curl_, "curl")
GK_ATOM(decimalpoint_, "decimalpoint")
GK_ATOM(definitionURL_, "definitionURL")
GK_ATOM(degree_, "degree") GK_ATOM(degree_, "degree")
GK_ATOM(denomalign_, "denomalign") GK_ATOM(denomalign_, "denomalign")
GK_ATOM(depth_, "depth") GK_ATOM(depth_, "depth")
GK_ATOM(determinant_, "determinant") GK_ATOM(determinant_, "determinant")
GK_ATOM(diff_, "diff") GK_ATOM(diff_, "diff")
GK_ATOM(displaystyle_, "displaystyle") GK_ATOM(displaystyle_, "displaystyle")
GK_ATOM(divergence_, "divergence")
GK_ATOM(divide_, "divide") GK_ATOM(divide_, "divide")
GK_ATOM(domain_, "domain")
GK_ATOM(domainofapplication_, "domainofapplication")
GK_ATOM(edge_, "edge") GK_ATOM(edge_, "edge")
GK_ATOM(el_, "el")
GK_ATOM(emptyset_, "emptyset")
GK_ATOM(eq_, "eq") GK_ATOM(eq_, "eq")
GK_ATOM(equalcolumns_, "equalcolumns") GK_ATOM(equalcolumns_, "equalcolumns")
GK_ATOM(equalrows_, "equalrows") GK_ATOM(equalrows_, "equalrows")
GK_ATOM(equivalent_, "equivalent")
GK_ATOM(eulergamma_, "eulergamma")
GK_ATOM(exists_, "exists") GK_ATOM(exists_, "exists")
GK_ATOM(exp_, "exp") GK_ATOM(exp_, "exp")
GK_ATOM(exponentiale_, "exponentiale")
GK_ATOM(factorial_, "factorial") GK_ATOM(factorial_, "factorial")
GK_ATOM(factorof_, "factorof")
GK_ATOM(fence_, "fence") GK_ATOM(fence_, "fence")
GK_ATOM(fn_, "fn") GK_ATOM(fn_, "fn")
GK_ATOM(fontfamily_, "fontfamily") GK_ATOM(fontfamily_, "fontfamily")
@ -1427,32 +1470,50 @@ GK_ATOM(fontstyle_, "fontstyle")
GK_ATOM(fontweight_, "fontweight") GK_ATOM(fontweight_, "fontweight")
GK_ATOM(forall_, "forall") GK_ATOM(forall_, "forall")
GK_ATOM(framespacing_, "framespacing") GK_ATOM(framespacing_, "framespacing")
GK_ATOM(gcd_, "gcd")
GK_ATOM(geq_, "geq") GK_ATOM(geq_, "geq")
GK_ATOM(groupalign_, "groupalign") GK_ATOM(groupalign_, "groupalign")
GK_ATOM(gt_, "gt") GK_ATOM(gt_, "gt")
GK_ATOM(ident_, "ident") GK_ATOM(ident_, "ident")
GK_ATOM(imaginaryi_, "imaginaryi")
GK_ATOM(imaginary_, "imaginary")
GK_ATOM(implies_, "implies") GK_ATOM(implies_, "implies")
GK_ATOM(int_, "int") GK_ATOM(indentalignfirst_, "indentalignfirst")
GK_ATOM(indentalign_, "indentalign")
GK_ATOM(indentalignlast_, "indentalignlast")
GK_ATOM(indentshiftfirst_, "indentshiftfirst")
GK_ATOM(indentshift_, "indentshift")
GK_ATOM(indenttarget_, "indenttarget")
GK_ATOM(integers_, "integers")
GK_ATOM(intersect_, "intersect") GK_ATOM(intersect_, "intersect")
GK_ATOM(interval_, "interval") GK_ATOM(interval_, "interval")
GK_ATOM(int_, "int")
GK_ATOM(inverse_, "inverse") GK_ATOM(inverse_, "inverse")
GK_ATOM(lambda_, "lambda") GK_ATOM(lambda_, "lambda")
GK_ATOM(laplacian_, "laplacian")
GK_ATOM(largeop_, "largeop") GK_ATOM(largeop_, "largeop")
GK_ATOM(lcm_, "lcm")
GK_ATOM(leq_, "leq") GK_ATOM(leq_, "leq")
GK_ATOM(limit_, "limit") GK_ATOM(limit_, "limit")
GK_ATOM(linebreak_, "linebreak") GK_ATOM(linebreak_, "linebreak")
GK_ATOM(linebreakmultchar_, "linebreakmultchar")
GK_ATOM(linebreakstyle_, "linebreakstyle")
GK_ATOM(linethickness_, "linethickness") GK_ATOM(linethickness_, "linethickness")
GK_ATOM(list_, "list") GK_ATOM(list_, "list")
GK_ATOM(ln_, "ln") GK_ATOM(ln_, "ln")
GK_ATOM(log_, "log") GK_ATOM(location_, "location")
GK_ATOM(logbase_, "logbase") GK_ATOM(logbase_, "logbase")
GK_ATOM(log_, "log")
GK_ATOM(longdivstyle_, "longdivstyle")
GK_ATOM(lowlimit_, "lowlimit") GK_ATOM(lowlimit_, "lowlimit")
GK_ATOM(lquote_, "lquote") GK_ATOM(lquote_, "lquote")
GK_ATOM(lspace_, "lspace") GK_ATOM(lspace_, "lspace")
GK_ATOM(lt_, "lt") GK_ATOM(lt_, "lt")
GK_ATOM(maction_, "maction") GK_ATOM(maction_, "maction")
GK_ATOM(maligngroup_, "maligngroup") GK_ATOM(maligngroup_, "maligngroup")
GK_ATOM(malign_, "malign")
GK_ATOM(malignmark_, "malignmark") GK_ATOM(malignmark_, "malignmark")
GK_ATOM(malignscope_, "malignscope")
GK_ATOM(mathbackground_, "mathbackground") GK_ATOM(mathbackground_, "mathbackground")
GK_ATOM(mathcolor_, "mathcolor") GK_ATOM(mathcolor_, "mathcolor")
GK_ATOM(mathsize_, "mathsize") GK_ATOM(mathsize_, "mathsize")
@ -1466,15 +1527,20 @@ GK_ATOM(menclose_, "menclose")
GK_ATOM(merror_, "merror") GK_ATOM(merror_, "merror")
GK_ATOM(mfenced_, "mfenced") GK_ATOM(mfenced_, "mfenced")
GK_ATOM(mfrac_, "mfrac") GK_ATOM(mfrac_, "mfrac")
GK_ATOM(mfraction_, "mfraction")
GK_ATOM(mglyph_, "mglyph")
GK_ATOM(mi_, "mi") GK_ATOM(mi_, "mi")
GK_ATOM(minlabelspacing_, "minlabelspacing") GK_ATOM(minlabelspacing_, "minlabelspacing")
GK_ATOM(minsize_, "minsize") GK_ATOM(minsize_, "minsize")
GK_ATOM(minus_, "minus") GK_ATOM(minus_, "minus")
GK_ATOM(mlabeledtr_, "mlabeledtr") GK_ATOM(mlabeledtr_, "mlabeledtr")
GK_ATOM(mlongdiv_, "mlongdiv")
GK_ATOM(mmultiscripts_, "mmultiscripts") GK_ATOM(mmultiscripts_, "mmultiscripts")
GK_ATOM(mn_, "mn") GK_ATOM(mn_, "mn")
GK_ATOM(mo_, "mo") GK_ATOM(momentabout_, "momentabout")
GK_ATOM(moment_, "moment") GK_ATOM(moment_, "moment")
GK_ATOM(mo_, "mo")
GK_ATOM(monospaced_, "monospaced")
GK_ATOM(movablelimits_, "movablelimits") GK_ATOM(movablelimits_, "movablelimits")
GK_ATOM(mover_, "mover") GK_ATOM(mover_, "mover")
GK_ATOM(mpadded_, "mpadded") GK_ATOM(mpadded_, "mpadded")
@ -1482,9 +1548,15 @@ GK_ATOM(mphantom_, "mphantom")
GK_ATOM(mprescripts_, "mprescripts") GK_ATOM(mprescripts_, "mprescripts")
GK_ATOM(mroot_, "mroot") GK_ATOM(mroot_, "mroot")
GK_ATOM(mrow_, "mrow") GK_ATOM(mrow_, "mrow")
GK_ATOM(mscarries_, "mscarries")
GK_ATOM(mscarry_, "mscarry")
GK_ATOM(msgroup_, "msgroup")
GK_ATOM(msline_, "msline")
GK_ATOM(ms_, "ms") GK_ATOM(ms_, "ms")
GK_ATOM(mspace_, "mspace") GK_ATOM(mspace_, "mspace")
GK_ATOM(msqrt_, "msqrt") GK_ATOM(msqrt_, "msqrt")
GK_ATOM(msrow_, "msrow")
GK_ATOM(mstack_, "mstack")
GK_ATOM(mstyle_, "mstyle") GK_ATOM(mstyle_, "mstyle")
GK_ATOM(msub_, "msub") GK_ATOM(msub_, "msub")
GK_ATOM(msubsup_, "msubsup") GK_ATOM(msubsup_, "msubsup")
@ -1495,19 +1567,37 @@ GK_ATOM(mtext_, "mtext")
GK_ATOM(mtr_, "mtr") GK_ATOM(mtr_, "mtr")
GK_ATOM(munder_, "munder") GK_ATOM(munder_, "munder")
GK_ATOM(munderover_, "munderover") GK_ATOM(munderover_, "munderover")
GK_ATOM(naturalnumbers_, "naturalnumbers")
GK_ATOM(negativemediummathspace_, "negativemediummathspace")
GK_ATOM(negativethickmathspace_, "negativethickmathspace")
GK_ATOM(negativethinmathspace_, "negativethinmathspace")
GK_ATOM(negativeverythickmathspace_, "negativeverythickmathspace")
GK_ATOM(negativeverythinmathspace_, "negativeverythinmathspace")
GK_ATOM(negativeveryverythickmathspace_, "negativeveryverythickmathspace")
GK_ATOM(negativeveryverythinmathspace_, "negativeveryverythinmathspace")
GK_ATOM(neq_, "neq") GK_ATOM(neq_, "neq")
GK_ATOM(notanumber_, "notanumber")
GK_ATOM(notation_, "notation") GK_ATOM(notation_, "notation")
GK_ATOM(note_, "note")
GK_ATOM(notin_, "notin") GK_ATOM(notin_, "notin")
GK_ATOM(notprsubset_, "notprsubset") GK_ATOM(notprsubset_, "notprsubset")
GK_ATOM(notsubset_, "notsubset") GK_ATOM(notsubset_, "notsubset")
GK_ATOM(numalign_, "numalign") GK_ATOM(numalign_, "numalign")
GK_ATOM(other_, "other") GK_ATOM(other_, "other")
GK_ATOM(outerproduct_, "outerproduct")
GK_ATOM(partialdiff_, "partialdiff") GK_ATOM(partialdiff_, "partialdiff")
GK_ATOM(piece_, "piece")
GK_ATOM(piecewise_, "piecewise")
GK_ATOM(pi_, "pi")
GK_ATOM(plus_, "plus") GK_ATOM(plus_, "plus")
GK_ATOM(power_, "power") GK_ATOM(power_, "power")
GK_ATOM(primes_, "primes")
GK_ATOM(product_, "product") GK_ATOM(product_, "product")
GK_ATOM(prsubset_, "prsubset") GK_ATOM(prsubset_, "prsubset")
GK_ATOM(quotient_, "quotient") GK_ATOM(quotient_, "quotient")
GK_ATOM(rationals_, "rationals")
GK_ATOM(real_, "real")
GK_ATOM(reals_, "reals")
GK_ATOM(reln_, "reln") GK_ATOM(reln_, "reln")
GK_ATOM(root_, "root") GK_ATOM(root_, "root")
GK_ATOM(rowalign_, "rowalign") GK_ATOM(rowalign_, "rowalign")
@ -1515,29 +1605,36 @@ GK_ATOM(rowlines_, "rowlines")
GK_ATOM(rowspacing_, "rowspacing") GK_ATOM(rowspacing_, "rowspacing")
GK_ATOM(rquote_, "rquote") GK_ATOM(rquote_, "rquote")
GK_ATOM(rspace_, "rspace") GK_ATOM(rspace_, "rspace")
GK_ATOM(scalarproduct_, "scalarproduct")
GK_ATOM(schemaLocation_, "schemaLocation")
GK_ATOM(scriptlevel_, "scriptlevel") GK_ATOM(scriptlevel_, "scriptlevel")
GK_ATOM(scriptminsize_, "scriptminsize") GK_ATOM(scriptminsize_, "scriptminsize")
GK_ATOM(scriptsizemultiplier_, "scriptsizemultiplier") GK_ATOM(scriptsizemultiplier_, "scriptsizemultiplier")
GK_ATOM(scriptsize_, "scriptsize")
GK_ATOM(sdev_, "sdev") GK_ATOM(sdev_, "sdev")
GK_ATOM(sec_, "sec")
GK_ATOM(sech_, "sech") GK_ATOM(sech_, "sech")
GK_ATOM(sec_, "sec")
GK_ATOM(selection_, "selection") GK_ATOM(selection_, "selection")
GK_ATOM(selector_, "selector")
GK_ATOM(semantics_, "semantics") GK_ATOM(semantics_, "semantics")
GK_ATOM(sep_, "sep")
GK_ATOM(separator_, "separator") GK_ATOM(separator_, "separator")
GK_ATOM(separators_, "separators") GK_ATOM(separators_, "separators")
GK_ATOM(set_, "set") GK_ATOM(sep_, "sep")
GK_ATOM(setdiff_, "setdiff") GK_ATOM(setdiff_, "setdiff")
GK_ATOM(set_, "set")
GK_ATOM(share_, "share")
GK_ATOM(shift_, "shift")
GK_ATOM(side_, "side") GK_ATOM(side_, "side")
GK_ATOM(sin_, "sin")
GK_ATOM(sinh_, "sinh") GK_ATOM(sinh_, "sinh")
GK_ATOM(sin_, "sin")
GK_ATOM(stackalign_, "stackalign")
GK_ATOM(stretchy_, "stretchy") GK_ATOM(stretchy_, "stretchy")
GK_ATOM(subscriptshift_, "subscriptshift") GK_ATOM(subscriptshift_, "subscriptshift")
GK_ATOM(subset_, "subset") GK_ATOM(subset_, "subset")
GK_ATOM(superscriptshift_, "superscriptshift") GK_ATOM(superscriptshift_, "superscriptshift")
GK_ATOM(symmetric_, "symmetric") GK_ATOM(symmetric_, "symmetric")
GK_ATOM(tan_, "tan")
GK_ATOM(tanh_, "tanh") GK_ATOM(tanh_, "tanh")
GK_ATOM(tan_, "tan")
GK_ATOM(tendsto_, "tendsto") GK_ATOM(tendsto_, "tendsto")
GK_ATOM(thickmathspace_, "thickmathspace") GK_ATOM(thickmathspace_, "thickmathspace")
GK_ATOM(thinmathspace_, "thinmathspace") GK_ATOM(thinmathspace_, "thinmathspace")
@ -1545,12 +1642,15 @@ GK_ATOM(times_, "times")
GK_ATOM(transpose_, "transpose") GK_ATOM(transpose_, "transpose")
GK_ATOM(union_, "union") GK_ATOM(union_, "union")
GK_ATOM(uplimit_, "uplimit") GK_ATOM(uplimit_, "uplimit")
GK_ATOM(var_, "var") GK_ATOM(variance_, "variance")
GK_ATOM(vectorproduct_, "vectorproduct")
GK_ATOM(vector_, "vector") GK_ATOM(vector_, "vector")
GK_ATOM(verythickmathspace_, "verythickmathspace") GK_ATOM(verythickmathspace_, "verythickmathspace")
GK_ATOM(verythinmathspace_, "verythinmathspace") GK_ATOM(verythinmathspace_, "verythinmathspace")
GK_ATOM(veryverythickmathspace_, "veryverythickmathspace") GK_ATOM(veryverythickmathspace_, "veryverythickmathspace")
GK_ATOM(veryverythinmathspace_, "veryverythinmathspace") GK_ATOM(veryverythinmathspace_, "veryverythinmathspace")
GK_ATOM(voffset_, "voffset")
GK_ATOM(xref_, "xref")
GK_ATOM(math, "math") // the only one without an underscore GK_ATOM(math, "math") // the only one without an underscore
#endif #endif