layout/reftests/mathml/table-width-3-ref.html

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 <!doctype>
     2 <html>
     3   <head>
     4     <title>table-width-3</title>
     5     <meta charset="utf-8"/>
     6     <style type="text/css">
     7       html { background-color: grey; }
     8       td { border: 1px solid white;
     9       padding-top: 0;
    10       padding-bottom: 0;
    11       padding-right: 1px;
    12       padding-left: 1px;
    13       background-color: black;
    14       color: red; }
    15       mi, mtext { font-size: 3em; }
    16       span { font-style: italic; display: inline-block; }
    17     </style>
    18   </head>
    19   <body>
    21     <table>
    22       <tr>
    23         <td>
    24           <math>
    25             <mphantom>
    26               <mi>f</mi>
    27             </mphantom>
    28           </math>
    29         </td>
    30       </tr>
    31     </table>
    32     <table>
    33       <tr>
    34         <td>
    35           <math>
    36             <mphantom>
    37               <mi>f</mi>
    38             </mphantom>
    39           </math>
    40         </td>
    41       </tr>
    42     </table>
    43     <table>
    44       <tr>
    45         <td>
    46           <math>
    47             <mphantom>
    48               <mi>f</mi>
    49               <mi>f</mi>
    50               <mi>f</mi>
    51             </mphantom>
    52           </math>
    53         </td>
    54       </tr>
    55     </table>
    56     <table>
    57       <tr>
    58         <td>
    59           <math>
    60             <mphantom>
    61               <mi style="font-style: italic;">fff</mi>
    62             </mphantom>
    63           </math>
    64         </td>
    65       </tr>
    66     </table>
    67     <table>
    68       <tr>
    69         <td>
    70           <math>
    71             <mphantom>
    72               <mtext><span>fff</span></mtext>
    73             </mphantom>
    74           </math>
    75         </td>
    76       </tr>
    77     </table>
    78     <table>
    79       <tr>
    80         <td>
    81           <math>
    82             <mphantom>
    83               <mtext><span>f</span></mtext>
    84               <mtext><span>f</span></mtext>
    85               <mtext><span>f</span></mtext>
    86             </mphantom>
    87           </math>
    88         </td>
    89       </tr>
    90     </table>
    91     <table>
    92       <tr>
    93         <td>
    94           <math>
    95             <mphantom>
    96               <mtext><span>f</span><span>f</span><span>f</span></mtext>
    97             </mphantom>
    98           </math>
    99         </td>
   100       </tr>
   101     </table>
   102   </body>
   103 </html>

mercurial