Re: Stretchy characters not stretched in MathML-only document
Stanimir Stamenkov <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.mathml |
|---|---|
| Message-ID | <[email protected]> |
[X-posting to mozilla.dev.tech.dom just in case.] Sat, 21 Jun 2008 11:02:24 +0200, /[email protected]/: > Stretchy characters appear correctly in MathML embedded inside an > XHTML document, but if the same MathML content is read from a > non-XHTML file containing the math element as its root element, they > are not stretched. See and compare: > > http://intelsig.montefiore.ulg.ac.be/~piater/test/stretch.xhtml > http://intelsig.montefiore.ulg.ac.be/~piater/test/stretch.xml > > Is there a reasonable explanation for this, or should I file a bug? > This happens in both Firefox 2 and 3. It is interesting to note if the <math> element is not the document element (in any XML document) it appears o.k.: <foo> <math xmlns="http://www.w3.org/1998/Math/MathML"> ... </math> </foo> The "stretch.xml" example also appears o.k. if served as "text/mathml" MIME type. Mozilla doesn't seem to recognize the "application/mathml+xml" MIME type. -- Stanimir