summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/mathvariant-4-ref.html
blob: 717eab9f20ca95ed4d82e3a8caa15acfb3a37b04 (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
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html>
  <head>
    <title>More mathvariant tests</title>
  </head>
  <body>
    <math>
      <mrow>
        <!-- mathvariant on characters that are already in the Mathematical
             AlphanumericSymbols or are exceptions (should not have any
             effect).-->
        <mtext>&#x1d49c;</mtext>
        <mtext>&#x212c;</mtext>
        <!-- mathvariant on characters for which there is no equivalent mathvariant
             form in Unicode (should not have any effect) -->
        <mtext>&#x00e1;</mtext>
      </mrow>
    </math>

    <p>

    <math>
      <mrow>
        <!-- mathvariant on multi-char token elements (should apply to all the 
             characters) -->
        <mtext>&#x1d670;&#x1d670;&#x1d670;</mtext>
      </mrow>
    </math>

    <p>

    <math>
      <mrow>
        <!-- mathvariant on mstyle (should apply to all token element descendants
             like single-char mi, mtext etc) -->
        <mtext mathvariant="sans-serif">cos</mtext>
        <mo>&#x2061;</mo>
        <mi mathvariant="sans-serif">x</mi>
      </mrow>
    </math>

    <p>

    <math>
      <mrow>
        <!-- mathvariant on math (should apply to all token element descendants
             like single-char mi, mtext etc) -->
        <mtext mathvariant="sans-serif">cos</mtext>
        <mo>&#x2061;</mo>
        <mi mathvariant="sans-serif">x</mi>
      </mrow>
    </math>

  </body>
</html>