Add mroot and bevelled mfrac width tests.
Add mroot and bevelled mfrac width tests.
--- a/layout/reftests/mathml/table-width-1-ref.xhtml
+++ b/layout/reftests/mathml/table-width-1-ref.xhtml
@@ -21,49 +21,61 @@
<mn>3</mn>
<mo>-</mo>
<mo>5</mo>
</msqrt>
</mphantom>
</math>
</td>
</table>
- <!-- uncomment when bug 363240 attachment 311725 is checked in: table>
+ <table>
<td>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mphantom>
<mroot>
- <mtable>
- <mtr><mtd><mn>8</mn></mtd></mtr>
- <mtr><mtd><mn>9</mn></mtd></mtr>
- </mtable>
- <mn>6</mn>
+ <mfrac>
+ <mn>8</mn>
+ <mn>90</mn>
+ </mfrac>
+ <mn>61</mn>
</mroot>
</mphantom>
</math>
</td>
- </table-->
+ </table>
<table>
<td>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mphantom>
<mfenced>
- <mfrac>
- <mn>0</mn>
- <mn>90</mn>
- </mfrac>
+ <mtable>
+ <mtr><mtd><mn>0</mn></mtd></mtr>
+ <mtr><mtd><mn>80</mn></mtd></mtr>
+ </mtable>
</mfenced>
</mphantom>
</math>
</td>
</table>
<table>
<td>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mphantom>
+ <mfrac bevelled="true">
+ <mn>82</mn>
+ <mn>28</mn>
+ </mfrac>
+ </mphantom>
+ </math>
+ </td>
+ </table>
+ <table>
+ <td>
+ <math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mphantom>
<mo>{</mo>
<mtable>
<mtr><mtd><mn>0</mn></mtd></mtr>
<mtr><mtd><mn>5</mn></mtd></mtr>
<mtr><mtd><mn>9</mn></mtd></mtr>
</mtable>
<mo>}</mo>
</mphantom>
--- a/layout/reftests/mathml/table-width-1.xhtml
+++ b/layout/reftests/mathml/table-width-1.xhtml
@@ -22,44 +22,54 @@
<mn>3</mn>
<mo>-</mo>
<mo>5</mo>
</msqrt>
</mrow>
</math>
</td>
</table>
- <!-- uncomment when bug 363240 attachment 311725 is checked in: table>
+ <table>
<td>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mroot>
- <mtable>
- <mtr><mtd><mn>8</mn></mtd></mtr>
- <mtr><mtd><mn>9</mn></mtd></mtr>
- </mtable>
- <mn>6</mn>
+ <mfrac>
+ <mn>8</mn>
+ <mn>90</mn>
+ </mfrac>
+ <mn>61</mn>
</mroot>
</math>
</td>
- </table-->
+ </table>
<table>
<td>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mfenced>
- <mfrac>
- <mn>0</mn>
- <mn>90</mn>
- </mfrac>
+ <mtable>
+ <mtr><mtd><mn>0</mn></mtd></mtr>
+ <mtr><mtd><mn>80</mn></mtd></mtr>
+ </mtable>
</mfenced>
</math>
</td>
</table>
<table>
<td>
<math xmlns="http://www.w3.org/1998/Math/MathML">
+ <mfrac bevelled="true">
+ <mn>82</mn>
+ <mn>28</mn>
+ </mfrac>
+ </math>
+ </td>
+ </table>
+ <table>
+ <td>
+ <math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mo>{</mo>
<mtable>
<mtr><mtd><mn>0</mn></mtd></mtr>
<mtr><mtd><mn>5</mn></mtd></mtr>
<mtr><mtd><mn>9</mn></mtd></mtr>
</mtable>
<mo>}</mo>