Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Stretchy characters not stretched in MathML-only document

1 view
Skip to first unread message

Stanimir Stamenkov

unread,
Jun 22, 2008, 1:15:32 PM6/22/08
to
[X-posting to mozilla.dev.tech.dom just in case.]

Sat, 21 Jun 2008 11:02:24 +0200, /Justu...@Piater.name/:

> 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

Stanimir Stamenkov

unread,
Jun 22, 2008, 1:21:57 PM6/22/08
to
Sun, 22 Jun 2008 20:15:32 +0300, /Stanimir Stamenkov/:

> 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.

Nah, I've spoken too fast. I must have overlooked something.
Mozilla doesn't seem to recognize the "text/mathml" MIME type, too.

--
Stanimir

0 new messages