<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"/>
    <title>mathvariant attribute and font-style/font-weight (reference)</title>
    <style>
      .italic { font-style: italic; }
      .bold { font-weight: bold; }
    </style>
  </head>
  <body>
    <p>This test passes if you see six lines of text (italic, italic, bold, bold, bold italic and bold italic) with the corresponding style applied:</p>
    <p>
      <math>
        <mtext class="italic">italic</mtext>
      </math>
    </p>
    <p>
      <math>
        <mtext class="italic">italic</mtext>
      </math>
    </p>
    <p>
      <math>
        <mtext class="bold">bold</mtext>
      </math>
    </p>
    <p>
      <math>
        <mtext class="bold">bold</mtext>
      </math>
    </p>
    <p>
      <math>
        <mtext class="bold italic">bold italic</mtext>
      </math>
    </p>
    <p>
      <math>
        <mtext class="bold italic">bold italic</mtext>
      </math>
    </p>
  </body>
</html>
