<!DOCTYPE html>
<html>
  <head>
    <title>Test MathML rowalign</title>
  </head>
  <body>
    <b>rowalign="top"</b> <br/>
    <math>
      <mstyle>
        <mtable>
          <mtr>
            <mtd rowalign="top">
              <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
            </mtd>
            <mtd rowalign="top">
              <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
            </mtd>
            <mtd rowalign="top">
              <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
            </mtd>
          </mtr>
          <mtr>
            <mtd rowalign="top">
              <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
            </mtd>
            <mtd rowalign="top">
              <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
            </mtd>
            <mtd rowalign="top">
              <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
            </mtd>
          </mtr>
          <mtr>
            <mtd rowalign="top">
              <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
            </mtd>
            <mtd rowalign="top">
              <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
            </mtd>
            <mtd rowalign="top">
              <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
            </mtd>
          </mtr>
        </mtable>
      </mstyle>
    </math> <br />
    <b>rowalign="center"</b> <br />
    <math>
      <mstyle>
        <mtable>
          <mtr>
            <mtd rowalign="center">
              <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
            </mtd>
            <mtd rowalign="center">
              <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
            </mtd>
            <mtd rowalign="center">
              <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
            </mtd>
          </mtr>
          <mtr>
            <mtd rowalign="center">
              <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
            </mtd>
            <mtd rowalign="center">
              <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
            </mtd>
            <mtd rowalign="center">
              <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
            </mtd>
          </mtr>
          <mtr>
            <mtd rowalign="center">
              <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
            </mtd>
            <mtd rowalign="center">
              <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
            </mtd>
            <mtd rowalign="center">
              <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
            </mtd>
          </mtr>
        </mtable>
      </mstyle>
    </math> <br />
    <b>rowalign="bottom"</b> <br />
    <math>
      <mstyle>
        <mtable>
          <mtr>
            <mtd rowalign="bottom">
              <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
            </mtd>
            <mtd rowalign="bottom">
              <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
            </mtd>
            <mtd rowalign="bottom">
              <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
            </mtd>
          </mtr>
          <mtr>
            <mtd rowalign="bottom">
              <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
            </mtd>
            <mtd rowalign="bottom">
              <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
            </mtd>
            <mtd rowalign="bottom">
              <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
            </mtd>
          </mtr>
          <mtr>
            <mtd rowalign="bottom">
              <mspace width="10px" depth="5px" height="5px" mathbackground="red"></mspace>
            </mtd>
            <mtd rowalign="bottom">
              <mspace width="10px" depth="10px" height="10px" mathbackground="green"></mspace>
            </mtd>
            <mtd rowalign="bottom">
              <mspace width="10px" depth="15px" height="15px" mathbackground="blue"></mspace>
            </mtd>
          </mtr>
        </mtable>
      </mstyle>
    </math>
  </body>
</html>