summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/mathvariant-font-style-font-weight-ref.html
blob: c3e586f4dd57b1f0c448f481e751a5a64c2ba127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!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>