layout/reftests/mathml/table-width-3-ref.html
author Frédéric Wang <fred.wang@free.fr>
Thu, 21 Nov 2013 11:48:47 -0500
changeset 171514 fccb1956961ea214ed0bb8af2637a503d486567a
child 181326 c60f3e28cbb901ec68d9dcd377f7c595e12e50f8
permissions -rw-r--r--
Bug 415413 - Incorrect widths and heights of MathML with italics in table cells. r=karlt, r=roc

<!doctype>
<html>
  <head>
    <title>table-width-3</title>
    <meta charset="utf-8"/>
    <style type="text/css">
      html { background-color: grey; }
      td { border: 1px solid white;
      padding: 0;
      background-color: black;
      color: red; }
      mi, mtext { font-size: 3em; }
      span { font-style: italic; display: inline-block; }
    </style>
  </head>
  <body>

    <table>
      <tr>
        <td>
          <math>
            <mphantom>
              <mi>f</mi>
            </mphantom>
          </math>
        </td>
      </tr>
    </table>
    <table>
      <tr>
        <td>
          <math>
            <mphantom>
              <mi>f</mi>
            </mphantom>
          </math>
        </td>
      </tr>
    </table>
    <table>
      <tr>
        <td>
          <math>
            <mphantom>
              <mi>f</mi>
              <mi>f</mi>
              <mi>f</mi>
            </mphantom>
          </math>
        </td>
      </tr>
    </table>
    <table>
      <tr>
        <td>
          <math>
            <mphantom>
              <mi style="font-style: italic;">fff</mi>
            </mphantom>
          </math>
        </td>
      </tr>
    </table>
    <table>
      <tr>
        <td>
          <math>
            <mphantom>
              <mtext><span>fff</span></mtext>
            </mphantom>
          </math>
        </td>
      </tr>
    </table>
    <table>
      <tr>
        <td>
          <math>
            <mphantom>
              <mtext><span>f</span></mtext>
              <mtext><span>f</span></mtext>
              <mtext><span>f</span></mtext>
            </mphantom>
          </math>
        </td>
      </tr>
    </table>
    <table>
      <tr>
        <td>
          <math>
            <mphantom>
              <mtext><span>f</span><span>f</span><span>f</span></mtext>
            </mphantom>
          </math>
        </td>
      </tr>
    </table>
  </body>
</html>