summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/presentational-hints-002-ref.html
blob: b8f5458b9bbd169104535f66528a26356cf1ef45 (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
56
57
58
59
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>presentational hints (dynamic)</title>
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
  @font-face {
    font-family: DoubleStruck;
    src: url("/fonts/math/mathvariant-double-struck.woff");
  }
  math {
      font: 25px/1 Ahem;
  }
</style>
</head>
<body>
  <p>dir:
    <math dir="rtl">
      <mtext>X</mtext>
      <mtext>p</mtext>
    </math>
  </p>
  <p>mathcolor:
    <math mathcolor="green">
      <mtext>X</mtext>
      <mtext>p</mtext>
    </math>
  </p>
  <p>mathbackground:
    <math mathbackground="green">
      <mtext>X</mtext>
      <mtext>p</mtext>
  </p>
  <p>mathsize:
    <math>
      <mtext mathsize="300%">X</mtext>
    </math>
  </p>
  <p>mathvariant:
    <math style="font-family: DoubleStruck;">
      <mtext mathvariant="double-struck">&#x628;</mtext>
    </math>
  </p>
  <p>displaystyle:
    <math displaystyle="true">
      <munder>
        <mo movablelimits="true">X</mo>
        <mo>X</mo>
      </munder>
    </math>
  </p>
  <p>scriptlevel:
    <math>
      <mtext scriptlevel="-1">X</mtext>
    </math>
  </p>
</body>
</html>