summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/mi-fontstyle-fontweight-ref.html
blob: 63e6e2ba9cce50396e66843113a9fbf5e4860a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"/>
    <title>single-char mi and fontstyle/fontweight attributes (reference)</title>
    <style>
      @font-face {
        font-family: TestFont;
        src: url("/fonts/math/mathvariant-italic.woff");
      }
      .testfont {
        font-family: TestFont;
        font-size: 32px;
       }
    </style>
  </head>
  <body>
    <p>Test passes if you see <span class="testfont">&#x1D715;</span> rendered twice, without any bold or italic style applied:</p>
    <p><math class="testfont"><mi mathvariant="normal">&#x1D715;</mi></math></p>
    <p><math class="testfont"><mi mathvariant="normal">&#x1D715;</mi></math></p>
  </body>
</html>