<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Fraction numalign denomalign</title>
  </head>
  <body>
    <p>This test passes if you see 6 fractions with numerators and
      denominators horizontally centered.</p>
    <p>
      <math>
        <mfrac>
          <mrow>
            <mspace width="10px" height="20px"></mspace>
            <mspace width="10px" height="20px" style="background: blue;"></mspace>
            <mspace width="10px" height="20px"></mspace>
          </mrow>
          <mspace width="30px" height="20px" style="background: cyan;"></mspace>
        </mfrac>
      </math>
      <math>
        <mfrac>
          <mrow>
            <mspace width="10px" height="20px"></mspace>
            <mspace width="10px" height="20px" style="background: blue;"></mspace>
            <mspace width="10px" height="20px"></mspace>
          </mrow>
          <mspace width="30px" height="20px" style="background: cyan;"></mspace>
        </mfrac>
      </math>
      <math>
        <mfrac>
          <mrow>
            <mspace width="10px" height="20px"></mspace>
            <mspace width="10px" height="20px" style="background: blue;"></mspace>
            <mspace width="10px" height="20px"></mspace>
          </mrow>
          <mspace width="30px" height="20px" style="background: cyan;"></mspace>
        </mfrac>
      </math>
    </p>
    <p>
      <math>
        <mfrac>
          <mspace width="30px" height="20px" style="background: cyan;"></mspace>
          <mrow>
            <mspace width="10px" height="20px"></mspace>
            <mspace width="10px" height="20px" style="background: blue;"></mspace>
            <mspace width="10px" height="20px"></mspace>
          </mrow>
        </mfrac>
      </math>
      <math>
        <mfrac>
          <mspace width="30px" height="20px" style="background: cyan;"></mspace>
          <mrow>
            <mspace width="10px" height="20px"></mspace>
            <mspace width="10px" height="20px" style="background: blue;"></mspace>
            <mspace width="10px" height="20px"></mspace>
          </mrow>
        </mfrac>
      </math>
      <math>
        <mfrac>
          <mspace width="30px" height="20px" style="background: cyan;"></mspace>
          <mrow>
            <mspace width="10px" height="20px"></mspace>
            <mspace width="10px" height="20px" style="background: blue;"></mspace>
            <mspace width="10px" height="20px"></mspace>
          </mrow>
        </mfrac>
      </math>
    </p>
  </body>
</html>
