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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2   <head>
     3     <style type="text/css">
     4       html { background-color: grey; }
     5       td { border: 1px solid white;
     6            padding-top: 0;
     7            padding-bottom: 0;
     8            padding-right: 1px;
     9            padding-left: 1px;
    10            background-color: black;
    11            color: red; }
    12     </style>
    13   </head>
    14 <body>
    15   <table>
    16     <td>
    17       <math xmlns="http://www.w3.org/1998/Math/MathML">
    18 	<mphantom>
    19 	  <mn>60</mn>
    20 	  <mo>&#x2062;</mo>
    21 	  <msqrt>
    22 	    <mn>2</mn>
    23 	    <mo>+</mo>
    24 	    <mn>3</mn>
    25 	    <mo>-</mo>
    26 	    <mo>5</mo>
    27 	  </msqrt>
    28 	</mphantom>
    29       </math>
    30     </td>
    31   </table>
    32   <table>
    33     <td>
    34       <math xmlns="http://www.w3.org/1998/Math/MathML">
    35 	<mphantom>
    36 	  <mroot>
    37 	    <mfrac>
    38 	      <mn>8</mn>
    39 	      <mn>90</mn>
    40 	    </mfrac>
    41 	    <mn>61</mn>
    42 	  </mroot>
    43 	</mphantom>
    44       </math>
    45     </td>
    46   </table>
    47   <table>
    48     <td>
    49       <math xmlns="http://www.w3.org/1998/Math/MathML">
    50 	<mphantom>
    51 	  <mfenced>
    52 	    <mtable>
    53 	      <mtr><mtd><mn>0</mn></mtd></mtr>
    54 	      <mtr><mtd><mn>80</mn></mtd></mtr>
    55 	    </mtable>
    56 	  </mfenced>
    57 	</mphantom>
    58       </math>
    59     </td>
    60   </table>
    61   <table>
    62     <td>
    63       <math xmlns="http://www.w3.org/1998/Math/MathML">
    64 	<mphantom>
    65 	  <mfrac bevelled="true">
    66 	    <mn>82</mn>
    67 	    <mn>28</mn>
    68 	  </mfrac>
    69 	</mphantom>
    70       </math>
    71     </td>
    72   </table>
    73   <table>
    74     <td>
    75       <math xmlns="http://www.w3.org/1998/Math/MathML">
    76 	<mphantom>
    77           <mo>|</mo>
    78 	  <mo>{</mo>
    79 	  <mtable>
    80 	    <mtr><mtd><mn>0</mn></mtd></mtr>
    81 	    <mtr><mtd><mn>5</mn></mtd></mtr>
    82 	    <mtr><mtd><mn>9</mn></mtd></mtr>
    83 	  </mtable>
    84 	  <mo>}</mo>
    85           <mo>|</mo>
    86 	</mphantom>
    87       </math>
    88     </td>
    89   </table>
    90   <table>
    91     <td>
    92       <math xmlns="http://www.w3.org/1998/Math/MathML">
    93         <mphantom>
    94           <mfrac bevelled="true" linethickness="30px">
    95             <mn>1473903823894702</mn>
    96             <mn>2808472638402743</mn>
    97           </mfrac>
    98         </mphantom>
    99       </math>
   100     </td>
   101   </table>
   102 </body>
   103 </html>

mercurial