W3C home > Mailing lists > Public > www-math@w3.org > November 2008

Re: menclose tag of MathML is not working in Firefox

From: Frédéric WANG <fred.wang@free.fr>
Date: Sun, 30 Nov 2008 12:00:44 +0100
Message-ID: <4932725C.2010202@free.fr>
To: saf_itpro@yahoo.com
CC: "www-math@w3.org" <www-math@w3.org>

    I submitted a patch to the developers of Firefox but they have not 
integrated it in the trunk yet. I don't know whether you will find this 
feature in Firefox 3.1. Here is a screenshot of the MathML testsuite 
after applying the patch:

https://bugzilla.mozilla.org/attachment.cgi?id=349303

    If you want to follow the bug on bugzilla, see:

https://bugzilla.mozilla.org/show_bug.cgi?id=297467

> The menclose tag of MathML is not working in Firefox (I am using 
> version 3.0). For example, the examples 2 and 3 do not work in the 
> following sample [copy and paste the following to a notepad and save 
> as test.xhtml file and then open in Firefox]. These examples 2 and 3 
> are taken from section 3.3.9 of 
> http://www.w3.org/TR/2003/REC-MathML2-20031021/chapter3.html
> <?xml version="1.0"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
>                "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [
>   <!ENTITY m "http://www.w3.org/1998/Math/MathML">
> ]>
> <html xmlns="http://www.w3.org/1999/xhtml">
>   <head>
>     <title>Minimum Document with MathML</title>
>   </head>
>   <body>
> <h3>Example 1</h3>
> <p><math xmlns="&m;"><msup><mi>x</mi><mn>2</mn></msup></math></p>
> <p>
> <h3>Example 2</h3>
> <math xmlns="&m;">
> <mtable columnspacing='0pt' rowspacing='0pt'>
> <mtr>
>   <mtd></mtd>
>   <mtd columnalign='right'><mn>10</mn></mtd>
> </mtr>
> <mtr>
>   <mtd columnalign='right'><mn>131</mn></mtd>
>   <mtd columnalign='right'>
>     <menclose notation='longdiv'><mn>1413</mn></menclose>
>   </mtd>
> </mtr>
> <mtr>
>   <mtd></mtd>
>   <mtd columnalign='right'>
>     <mrow>
>     <munder>
>       <mn>131</mn>
>       <mo> &UnderBar; </mo>
>     </munder>
>     <mphantom><mn>3</mn></mphantom>
>     </mrow>
>   </mtd>
> </mtr>
> <mtr>
>   <mtd></mtd>
>   <mtd columnalign='right'><mn>103</mn></mtd>
> </mtr>
> </mtable>
> </math>
> </p>
> <p>
> <h3>Example 3</h3>
> <math xmlns="&m;">
> <msub>
>   <mi>a</mi>
>   <mrow>
>     <menclose notation='actuarial'>
>       <mi>n</mi>
>     </menclose>
>     <mo>&it;</mo>
>     <mi>i</mi>
>   </mrow>
> </msub>
> </math>
> </p>
>   </body>
> </html>
>
>
Received on Sunday, 30 November 2008 11:01:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:13:02 GMT