MathML

  • Revision slug: MathML
  • Revision title: MathML
  • Revision id: 46904
  • Created:
  • Creator: Wjjohnst
  • Is current revision? No
  • Comment 13 words added, 23 words removed

Revision Content

 As of Firefox 1.5, MathML is included on all platforms, providing the ability to display the MathML language inside Mozilla.

Note: Due to an apparent bug, content in the MathML namespace can only appear within a XUL window. It must be encapsulated in a second box.

Example in XUL

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<hbox>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
        <mfrac>
          <mi>a</mi>
          <mi>b</mi>
        </mfrac>
      </math>
</hbox>

</window>

Documents

Community

  • View Mozilla forums...

{{ DiscussionList("dev-tech-mathml", "mozilla.dev.tech.mathml") }}

{{ languages( { "ja": "ja/MathML", "pl": "pl/MathML" } ) }}

Revision Source

<p> As of Firefox 1.5, MathML is included on all platforms, providing the ability to display the MathML language inside Mozilla.</p>
<div class="note"><strong>Note</strong><strong>:</strong> Due to an apparent bug, content in the MathML namespace can only appear within a XUL <a class="internal" href="/XUL/Window" title="XUL/Window">window</a>. It must be encapsulated in a second box.</div>
<h3>Example in XUL</h3>
<pre class="brush: html">&lt;?xml version="1.0"?&gt;
&lt;?xml-stylesheet href="chrome://global/skin/" type="text/css"?&gt;
&lt;window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt;

&lt;hbox&gt;
      &lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
        &lt;mfrac&gt;
          &lt;mi&gt;a&lt;/mi&gt;
          &lt;mi&gt;b&lt;/mi&gt;
        &lt;/mfrac&gt;
      &lt;/math&gt;
&lt;/hbox&gt;

&lt;/window&gt;
</pre>
<h3 name="Documents">Documents</h3>
<ul> <li><a class="external" href="http://www.mozilla.org/projects/mathml/">MathML project page</a> on mozilla.org</li> <li><a class="external" href="http://www.mozilla.org/projects/mathml/authoring.html">Authoring MathML for Mozilla</a></li> <li><a class="external" href="http://www.mozilla.org/projects/mathml/fonts/">Fonts for MathML-enabled Mozilla</a></li>
</ul>
<h3 name="Community">Community</h3>
<ul> <li>View Mozilla forums...</li>
</ul>
<p>{{ DiscussionList("dev-tech-mathml", "mozilla.dev.tech.mathml") }}</p>
<p>{{ languages( { "ja": "ja/MathML", "pl": "pl/MathML" } ) }}</p>
Revert to this revision