layout/reftests/mathml/table-width-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/mathml/table-width-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,96 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.5 +  <head>
     1.6 +    <title>Check that the content box is large enough</title>
     1.7 +    <style type="text/css">
     1.8 +      html { background-color: grey; }
     1.9 +      td { border: 1px solid white;
    1.10 +           padding-top: 0;
    1.11 +           padding-bottom: 0;
    1.12 +           padding-right: 1px;
    1.13 +           padding-left: 1px;
    1.14 +           background-color: black;
    1.15 +           color: black; }
    1.16 +    </style>
    1.17 +  </head>
    1.18 +<body>
    1.19 +  <table>
    1.20 +    <td>
    1.21 +      <math xmlns="http://www.w3.org/1998/Math/MathML">
    1.22 +	<mrow>
    1.23 +	  <mn>60</mn>
    1.24 +	  <mo>&#x2062;</mo>
    1.25 +	  <msqrt>
    1.26 +	    <mn>2</mn>
    1.27 +	    <mo>+</mo>
    1.28 +	    <mn>3</mn>
    1.29 +	    <mo>-</mo>
    1.30 +	    <mo>5</mo>
    1.31 +	  </msqrt>
    1.32 +	</mrow>
    1.33 +      </math>
    1.34 +    </td>
    1.35 +  </table>
    1.36 +  <table>
    1.37 +    <td>
    1.38 +      <math xmlns="http://www.w3.org/1998/Math/MathML">
    1.39 +	<mroot>
    1.40 +	  <mfrac>
    1.41 +	    <mn>8</mn>
    1.42 +	    <mn>90</mn>
    1.43 +	  </mfrac>
    1.44 +	  <mn>61</mn>
    1.45 +	</mroot>
    1.46 +      </math>
    1.47 +    </td>
    1.48 +  </table>
    1.49 +  <table>
    1.50 +    <td>
    1.51 +      <math xmlns="http://www.w3.org/1998/Math/MathML">
    1.52 +	<mfenced>
    1.53 +	  <mtable>
    1.54 +	    <mtr><mtd><mn>0</mn></mtd></mtr>
    1.55 +	    <mtr><mtd><mn>80</mn></mtd></mtr>
    1.56 +	  </mtable>
    1.57 +	</mfenced>
    1.58 +      </math>
    1.59 +    </td>
    1.60 +  </table>
    1.61 +  <table>
    1.62 +    <td>
    1.63 +      <math xmlns="http://www.w3.org/1998/Math/MathML">
    1.64 +	<mfrac bevelled="true">
    1.65 +	  <mn>82</mn>
    1.66 +	  <mn>28</mn>
    1.67 +	</mfrac>
    1.68 +      </math>
    1.69 +    </td>
    1.70 +  </table>
    1.71 +  <table>
    1.72 +    <td>
    1.73 +      <math xmlns="http://www.w3.org/1998/Math/MathML">
    1.74 +	<mrow>
    1.75 +          <mo>|</mo>
    1.76 +	  <mo>{</mo>
    1.77 +	  <mtable>
    1.78 +	    <mtr><mtd><mn>0</mn></mtd></mtr>
    1.79 +	    <mtr><mtd><mn>5</mn></mtd></mtr>
    1.80 +	    <mtr><mtd><mn>9</mn></mtd></mtr>
    1.81 +	  </mtable>
    1.82 +	  <mo>}</mo>
    1.83 +          <mo>|</mo>
    1.84 +	</mrow>
    1.85 +      </math>
    1.86 +    </td>
    1.87 +  </table>
    1.88 +  <table>
    1.89 +    <td>
    1.90 +      <math xmlns="http://www.w3.org/1998/Math/MathML">
    1.91 +        <mfrac bevelled="true" linethickness="30px">
    1.92 +            <mn>1473903823894702</mn>
    1.93 +            <mn>2808472638402743</mn>
    1.94 +        </mfrac>
    1.95 +      </math>
    1.96 +    </td>
    1.97 +  </table>
    1.98 +</body>
    1.99 +</html>

mercurial